#11179: inspectdb should guess related_name on foreign keys
---------------------------------------+------------------------------------
 Reporter:  3gun                       |       Owner:  nobody    
   Status:  new                        |   Milestone:            
Component:  django-admin.py inspectdb  |     Version:  1.0       
 Keywords:  related_name               |       Stage:  Unreviewed
Has_patch:  0                          |  
---------------------------------------+------------------------------------
 It would be useful if inspectdb would guess related_name parameter on
 foreign keys using db_table, db_column and othermodel attributes.

 >> Accessor for field 'xxx' clashes with related field 'YYY.zzz_set'. Add
 a related_name argument to the definition for 'xxx'.
 >> Accessor for field 'aaa' clashes with related field 'YYY.zzz_set'. Add
 a related_name argument to the definition for 'aaa'.

 Thnx

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11179>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to