Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117886413
manage.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
623 B
Referenced Files
None
Subscribers
None
manage.py
View Options
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from
django.core.management
import
execute_manager
try
:
import
settings
# Assumed to be in the same directory.
except
ImportError
:
import
sys
sys
.
stderr
.
write
(
"Error: Can't find the file 'settings.py' in the directory containing
%r
."
+
\
"It appears you've customized things.
\n
You'll have to run django-admin.py,"
+
\
"passing it your settings module.
\n
(If the file settings.py does indeed"
+
\
"exist, it's causing an ImportError somehow.)
\n
"
%
__file__
)
sys
.
exit
(
1
)
if
__name__
==
"__main__"
:
execute_manager
(
settings
)
File Metadata
Details
Attached
Mime Type
text/x-script.python
Expires
Mon, Apr 6, 2:30 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18765267
Default Alt Text
manage.py (623 B)
Attached To
Mode
rP pykolab
Attached
Detach File
Event Timeline