mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +00:00

Move manage.py up one step, set up a new wsgi.py file, and adjust relative paths that refer to other directories for the new project layout that we need to use in django 1.8.
11 lines
248 B
Python
Executable File
11 lines
248 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pgweb.settings")
|
|
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|