mirror of https://gitlab.federez.net/re2o/re2o
chirac
8 years ago
commit
31c23c2ba5
5 changed files with 47 additions and 0 deletions
@ -0,0 +1 @@ |
|||
settings.py |
@ -0,0 +1,10 @@ |
|||
#!/usr/bin/env python3 |
|||
import os |
|||
import sys |
|||
|
|||
if __name__ == "__main__": |
|||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "re2o.settings") |
|||
|
|||
from django.core.management import execute_from_command_line |
|||
|
|||
execute_from_command_line(sys.argv) |
@ -0,0 +1,20 @@ |
|||
"""re2o URL Configuration |
|||
|
|||
The `urlpatterns` list routes URLs to views. For more information please see: |
|||
https://docs.djangoproject.com/en/1.8/topics/http/urls/ |
|||
Examples: |
|||
Function views |
|||
1. Add an import: from my_app import views |
|||
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') |
|||
Class-based views |
|||
1. Add an import: from other_app.views import Home |
|||
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') |
|||
Including another URLconf |
|||
1. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) |
|||
""" |
|||
from django.conf.urls import include, url |
|||
from django.contrib import admin |
|||
|
|||
urlpatterns = [ |
|||
url(r'^admin/', include(admin.site.urls)), |
|||
] |
@ -0,0 +1,16 @@ |
|||
""" |
|||
WSGI config for re2o 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.8/howto/deployment/wsgi/ |
|||
""" |
|||
|
|||
import os |
|||
|
|||
from django.core.wsgi import get_wsgi_application |
|||
|
|||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "re2o.settings") |
|||
|
|||
application = get_wsgi_application() |
Loading…
Reference in new issue