#19030: primary key in model is not primary key in database
-------------------------------------+-------------------------------------
     Reporter:  ccruickshank         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by ptone):

 Using the same backend and pgadmin I can not reproduce this.  I'm nearly
 positive the platform Win32 vs OSX is not making any difference.

 I'm pretty sure this should/will be closed as invalid.

 As a final check towards reproducibility  - is there a chance you added
 the primary_key=True to your Django models after running syncdb?

 Django does not alter tables once created.

 Please try to reproduce your issue from scratch - without reusing your
 project and see if you can reproduce.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19030#comment:4>
Django <https://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 https://groups.google.com/groups/opt_out.


Reply via email to