On Mon, May 11, 2009 at 6:08 AM, Will Kraytos <willkray...@gmail.com> wrote:
> Hi there, > > My company's application needs to store binary data in the database. I need > it to work at least across the two database systems we're currently using: > Postgres (bytea) for production, SQLite3 (BLOB) for development. > > What are my options? > > The only relevant ticket[1] causes me to believe there's no builtin support > for this in Django. I'd much rather have that field supported on a Django > Model, but if that's currently impossible, I'm willing to use it directly > through a SQL query and/or on a separate table, or any other solution - as > long as it's robust and works well for both Postgres and SQLite3. > > Thanks, > Have you investigated creating your own custom field: http://docs.djangoproject.com/en/dev/howto/custom-model-fields/ ? Karen --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---