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()