Files @ 62df4ec3de57
Branch filter:

Location: symposion_app/manage.py

James Polley
Allow flags for migrations

Switch Dockerfile from CMD to ENTRYPOINT so that flags can be passed
to the makemigrations command

This is required in cases where we need to use django's makemigrations
--merge to merge two migrations.
#!/usr/bin/env python

import os
import sys


if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pinaxcon.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)