On 11. Aug, 15:01 h., Gustavo Henrique <gustavo...@gmail.com> wrote:
> Try also: null=True, blank=True
>
> --
> Gustavo Henriquehttp://www.gustavohenrique.nethttp://blog.gustavohenrique.net

blank=True ... I have had, but this one doesn't solve the problem,
maybe the problem is in postgresql, the associated SQL code for
postgresql is

CREATE TABLE ...
...
UNIQUE ("some_fk_field_id", "some_plain_field"),

and this apparently doesn't work
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to