Re: Using PostgreSQL Blob from Django
On Friday 25 June 2010 05:19:36 Daniel Espinosa Ortiz wrote:
> I have a PHP application using PostgreSQL backend. I'm storing files
> on the database. I have different tables with a file (OID), filename
> and mime to detect the row's associated file. I'm trying to port this
> application to django.
>
> How Can Use this blob with django? Exist some suggestions about it?
>
a. write a script to store the blobs on the file system and insert the filename
into the db which is how django handles blobs
b. write a custom field to handle this
I suggest you do 'a' as then all the django and django addon file/image
handling functions will be available to you.
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home