commit 018be180888dadeee25894a93d77b5f4dd1360f2 Author: Gabriel Detraz Date: Thu Jun 30 01:39:31 2016 +0200 initial comit diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..fce19e42 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +settings.py diff --git a/manage.py b/manage.py new file mode 100755 index 00000000..68d81c42 --- /dev/null +++ b/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) diff --git a/re2o/__init__.py b/re2o/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/re2o/urls.py b/re2o/urls.py new file mode 100644 index 00000000..cdcaf70c --- /dev/null +++ b/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)), +] diff --git a/re2o/wsgi.py b/re2o/wsgi.py new file mode 100644 index 00000000..c78787b6 --- /dev/null +++ b/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()