Hi everyone,

I'm a Django newbie, and I was following the tutorial for 1.6, creating a 
new app where one of the models is self-referencing. They ask to, in 
manage.py shell, create an instance of the model. But, as my model has a 
self reference foreign key, I can't pass any object to the key. I also 
would not like to leave it Nullable, as it may cause errors. Rather, I'd 
just like to pass 'self' as the reference, this is, the key it references 
should be its self key.

Is it possible? Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/398df8f5-c8ae-4408-8cc9-d8c059318e21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to