Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F25244185
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/manage.py b/manage.py
index 51a3cdc..a293c9f 100755
--- a/manage.py
+++ b/manage.py
@@ -1,10 +1,12 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
+
import os
import sys
+
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tasacora_server.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
diff --git a/tasacora_server/urls.py b/tasacora_server/urls.py
index 92aeaa2..d9bb933 100644
--- a/tasacora_server/urls.py
+++ b/tasacora_server/urls.py
@@ -1,10 +1,10 @@
from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns('',
- # Examples:
- # url(r'^$', 'tasacora_server.views.home', name='home'),
- # url(r'^blog/', include('blog.urls')),
+ # Examples:
+ # url(r'^$', 'tasacora_server.views.home', name='home'),
+ # url(r'^blog/', include('blog.urls')),
- url(r'^admin/', include(admin.site.urls)),
-)
+ url(r'^admin/', include(admin.site.urls)),
+ )
diff --git a/tasacora_server/wsgi.py b/tasacora_server/wsgi.py
index d3535dc..686c66d 100644
--- a/tasacora_server/wsgi.py
+++ b/tasacora_server/wsgi.py
@@ -1,14 +1,14 @@
"""
WSGI config for tasacora_server project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
+from django.core.wsgi import get_wsgi_application
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tasacora_server.settings")
-from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Apr 9, 02:29 (8 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3603817
Default Alt Text
(1 KB)
Attached To
Mode
rTASACORASRV Tasacora server
Attached
Detach File
Event Timeline
Log In to Comment