>
> What database backend are you using?.
>
PostgreSQL 8.3
> Can you see what's the actual DLL definition of the image_content_type
> field? (i.e. does it contain 'NULL' or 'NON NULL').
>
The DLL is OK:
CREATE TABLE "myprojects_simplemodelc" (
"id" serial NOT NULL PRIMARY KEY,
"name" varchar(256) NOT NULL,
"image_content_type" varchar(32) NOT NULL
);
> Has the table been generated by Django itself from the model or is
> it a legacy database that you've generated the models from by
> introspecting it?.
>
All the tables where generated using syncdb.
Horacio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---