#14796: inspectdb producing field names which are Python keywords
---------------------------------------+------------------------------------
 Reporter:  [email protected]           |       Owner:  nobody    
   Status:  new                        |   Milestone:            
Component:  django-admin.py inspectdb  |     Version:  1.2       
 Keywords:                             |       Stage:  Unreviewed
Has_patch:  0                          |  
---------------------------------------+------------------------------------
 Similar to #1328; I had a case where inspectdb produced a model which uses
 a python keyword as a field in the model class.

 * Django: 1.2.3
 * Python: 2.6.5
 * DB Driver: postgresql_psycopg2

 I will attach an SQL file; it is from the Danbooru image server.  The
 table which had the problems is "dmails"; the column is a foreign key
 column to the table "users".

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14796>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to