Browse Source

initial comit

test_david
chirac 8 years ago
commit
31c23c2ba5
  1. 1
      .gitignore
  2. 10
      manage.py
  3. 0
      re2o/__init__.py
  4. 20
      re2o/urls.py
  5. 16
      re2o/wsgi.py

1
.gitignore

@ -0,0 +1 @@
settings.py

10
manage.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
re2o/__init__.py

20
re2o/urls.py

@ -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)),
]

16
re2o/wsgi.py

@ -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…
Cancel
Save