#13803: Model attribute cannot be named pk and set primary_key=True
-------------------------------------+-------------------------------------
               Reporter:  jonknee    |        Owner:  hjeffrey
                 Status:  assigned   |    Milestone:  1.3
              Component:  Database   |      Version:  SVN
  layer (models, ORM)                |     Keywords:
             Resolution:             |    Has patch:  1
           Triage Stage:  Ready for  |  Needs tests:  0
  checkin                            |
    Needs documentation:  0          |
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------
Changes (by hjeffrey):

 * status:  new => assigned
 * cc: hjeffrey (added)
 * needs_tests:  1 => 0
 * owner:  nobody => hjeffrey
 * needs_docs:  1 => 0
 * has_patch:  0 => 1
 * stage:  Accepted => Ready for checkin


Comment:

 I think that this is at least a partial fix. The core should throw an
 exception when you name a model attribute "pk"

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