18 lines
440 B
Python
Executable File
18 lines
440 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
import compte_agglo_montpellier
|
|
|
|
sys.path.append(os.path.join(
|
|
os.path.dirname(compte_agglo_montpellier.__file__),
|
|
'apps'))
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "compte_agglo_montpellier.settings")
|
|
os.environ.setdefault('DEBUG', '1')
|
|
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|