Hey

I'am working on my models page and this is my code:
http://pastebin.com/eAyzzZuY

which returns an error:
django.core.management.base.CommandError: One or more models did not 
validate:
news.news: Accessor for field 'created' clashes with related field 
'User.news_se
t'. Add a related_name argument to the definition for 'created'.
news.news: Accessor for field 'edited' clashes with related field 
'User.news_set
'. Add a related_name argument to the definition for 'edited'.

I know that without "edited" part it works perfectly. I dont really 
understand why it cant work with an additional "edited" field.

How do I fix this this? What should I look for?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/5y3sWlMRLZUJ.
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