server/manage.py
author rougeronj
Wed, 27 May 2015 19:02:43 +0200
changeset 99 c7c424e9eed5
parent 12 1ada9d221ba3
permissions -rwxr-xr-x
refactor the ammicoApi service and put it into a specific module (ammicoCommon). Use factory to serve the resources

#!/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)