server/manage.py
author rougeronj
Thu, 04 Jun 2015 20:10:38 +0200
changeset 114 e4ffc4e13a8e
parent 12 1ada9d221ba3
permissions -rwxr-xr-x
add a token field to the initialisation of the ammico app so the server can pass it and auto login with jwt

#!/usr/bin/env python
import os
import sys

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

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)