#25100: cant migrate contenttype with django 1.8 when new table is created
-----------------------------------+----------------------------------
     Reporter:  sachinvettithanam  |      Owner:  nobody
         Type:  Bug                |     Status:  new
    Component:  Migrations         |    Version:  1.8
     Severity:  Normal             |   Keywords:  contentype migration
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+----------------------------------
 * Project Build on django 1.4.10
 * Database - postgresql (which got large amount data)

 Steps to Reproduce issues

 1. Upgraded to django 1.8.*
 2. Create a new table
 3. executing makemigrations works fine
 4. when we migrate, migrations works and gives ok response then followed
 by

 "Error creating new content types. Please make sure contenttypes "
 RuntimeError: Error creating new content types. Please make sure
 contenttypes is migrated before trying to migrate apps individually.


 5. Then try to access this table from admin it gives responce

 Error creating new content types. Please make sure contenttypes is
 migrated before trying to migrate apps individually.

 6. tried migrate contenttype - nothing changes

 7. Downgraded to django 1.7 , and executing migration for contenttype
 works and issue will be resolved

 Each and everytime we need to follow this same process not just once, each
 and everytime when we create a new table not column

--
Ticket URL: <https://code.djangoproject.com/ticket/25100>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/060.a51d70ca8a3916362f948b565da163fd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to