I use en .env file per environement to set settings variables that must be different according the environment. An exemple would be:
in settings.py file:
DEBUG = (os.environ['DJANGO_DEBUG'] in ['True', 'true'])
in .env file of DEV environment:
DJANGO_DEBUG=True
I'd like when I run syncdb in production environment that the fixtures do not load. I read documentation but didn't find any settings var related to fixtures.
How would you do? (Currently, I'm just not uploading the fixtures files on github, dirty!) Note that I'm using Django 1.6.
Thanks.