I'm working with django-salesforce and have salesforce models in my 
models.py, as well as local models which point to a Postgres database. I am 
excluding the salesforce models from the migrate command by using managed = 
False in a meta class on the models. However, makemigrations still 
generates migrations for the salesforce model which then never get run by 
migrate. That's ok but seems a little messy. Is there any way to prevent 
Django generating migrations for particular models? Have searched the 
django documentation (I think) pretty extensively for a method.

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bc155bd7-b46f-4898-b0f0-44e511b89990%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to