Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4087031
D2067.diff
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
D2067.diff
View Options
diff --git a/manage.py b/manage.py
--- a/manage.py
+++ b/manage.py
@@ -1,7 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
+
import os
import sys
+
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tasacora_server.settings")
diff --git a/tasacora_server/urls.py b/tasacora_server/urls.py
--- a/tasacora_server/urls.py
+++ b/tasacora_server/urls.py
@@ -2,9 +2,9 @@
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
--- a/tasacora_server/wsgi.py
+++ b/tasacora_server/wsgi.py
@@ -7,8 +7,8 @@
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/plain
Expires
Mon, Feb 3, 13:05 (18 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2393049
Default Alt Text
D2067.diff (1 KB)
Attached To
Mode
D2067: Improve Python style
Attached
Detach File
Event Timeline
Log In to Comment