#1328: Inspectdb generates bad python code if column name is python reserved 
word
------------------------------------------------+---------------------------
          Reporter:  [email protected]             |         Owner:  adrian
            Status:  reopened                   |     Milestone:        
         Component:  django-admin.py inspectdb  |       Version:  1.2   
        Resolution:                             |      Keywords:        
             Stage:  Unreviewed                 |     Has_patch:  0     
        Needs_docs:  1                          |   Needs_tests:  0     
Needs_better_patch:  0                          |  
------------------------------------------------+---------------------------
Changes (by [email protected]):

  * status:  closed => reopened
  * needs_docs:  0 => 1
  * version:  => 1.2
  * component:  Core framework => django-admin.py inspectdb
  * resolution:  fixed =>

Comment:

 This is apparently broken again; I just had inspectdb create a model which
 used a reserved Python keyword ("from") as a field name.

 Django 1.2.3
 Python 2.6.5

-- 
Ticket URL: <http://code.djangoproject.com/ticket/1328#comment:2>
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