Hello,

I’ve got a question regarding the django_content_type table and sqlmigrate. 
 At work we use sqlmigrate to generate the SQL that is used to 
create/update tables in production and only use manage.py migrate for local 
updates and changes.  This has been working fine for us until we started to 
need some generic foreign keys.  It turns out that migrate command creates 
entries in the django_content_type table but those entries are not included 
in the sqlmigrate output.  Is there a way to get those SQL commands so that 
we can also create those in our production database when we are creating 
new models?  I've been unable to find much information about this using 
Google.

Thank you very much for your assistance!

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d19b6175-e237-4c9c-b755-581e4c28d28d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to