On Mon, May 02, 2016 at 08:37:43AM -0700, Bruce Whealton wrote:
> I'm not sure if it is ok to use python manage.py makemigrations on the
> production server or if one should just do that locally and then import it.
Hi Bruce,
Migrations are a part of your application's code base, and they should
be treated as such. In other words, you create all migrations during
development, and make sure to include them in your code repository,
and then as part of your deployment strategy, you only apply them in
the production environment.
Cheers,
Michal
--
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+unsubscribe@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/20160502154744.GP435%40koniiiik.org.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment