Foreignkey problem in admin interface

0 views
Skip to first unread message

Nagy Károly

unread,
Jun 13, 2006, 9:54:45 AM6/13/06
to django...@googlegroups.com
I have a tree model data and a foreign key is defined with a null=True.
Generated db table is correct (field is NULL instead of NOT NULL), but
in the admin interface i cannot add an object with empty parent. (With
not null parent it works.)
And obviously i cannot add first one at all.
What was i am missing?

Thanks,
Charlie.

--
"...s minden mestert kinevettem, ki nem nevetett önmagán."
GPG public key: http://www.rendszergazda.com/gpg/charlie-gpg-public-key.asc

patrickk

unread,
Jun 13, 2006, 10:11:46 AM6/13/06
to django...@googlegroups.com

Nagy Károly

unread,
Jun 13, 2006, 10:37:16 AM6/13/06
to django...@googlegroups.com
patrickk írta:

Helps? Works!

Thank you, Patrick.

Reply all
Reply to author
Forward
0 new messages