Re: Support for a binary storage field?

2007-03-26 Thread Noah Slater

Whether you think RDMSSes are for binary data is mostly by the by.

IMO the patch for #2417 is sub-optimal as it:

 1) Subclasses the Char field.
 2) Does not provide an intelligent manipulator.

The solution to this problem is to provide a form upload field with
the addition of a checkbox to signify deletion of the currently saved
binary data. There is no sensible way to SHOW the current binary data
- we can leave that up to the application designer.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Support for a binary storage field?

2007-03-26 Thread Noah Slater

Saving binary data as printable ASCII seems extremely hack^H^H^H
suboptimal to me.

To make a case for binary data - how about when you want to store a
small image for a UserProfile.

Saving to the local file-system doesn't work when you are clustering
your application servers.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Support for a binary storage field?

2007-03-26 Thread Noah Slater


>it depends the FS you're using.

To get round this problem I am using NFS. Do you have any other
suggestions?

Either way, I still think it would be nice to be able to store binary
blobs directly via models.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Support for a binary storage field?

2007-03-27 Thread Noah Slater

> this would be like doing exact opposite - put the load of serving
> static files onto the already busy DB server

All of your arguments are based on the assumption that files would be
served from the database.

The only sane environment would be to store the files in the database
as a reference but serve them from a filesystem/memcahce/squid cache.
Only when the cached resource expires do you make a round-trip to the
database again.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Tags cannot contain newlines

2007-03-29 Thread Noah Slater

Hello,

Please see "Tags cannot contain newlines":

http://code.djangoproject.com/ticket/1147

I have been instructed by mtredinnick to bring the discussion here.

Can someone please justify why this wont be fixed?

Thanks,

Noah


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---