- commit
- 539575ed3908dd90e03224a8cc705a9475da331e
- parent
- 145fb114ae8e000c037c2d12c5c9eb137f2a67c2
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-08-22 20:53
adapt default setup
Diffstat
| R | rebelstuff/manage.py -> manage.py | 0 | |
| R | rebelstuff/rebelstuff/__init__.py -> rebelstuff/__init__.py | 0 | |
| D | rebelstuff/rebelstuff/urls.py | 21 | --------------------- |
| R | rebelstuff/rebelstuff/settings.py -> rebelstuff/settings.py | 1 | + |
| A | rebelstuff/urls.py | 6 | ++++++ |
| R | rebelstuff/rebelstuff/wsgi.py -> rebelstuff/wsgi.py | 2 | -- |
6 files changed, 7 insertions, 23 deletions
diff --git a/rebelstuff/manage.py b/manage.py
diff --git a/rebelstuff/rebelstuff/__init__.py b/rebelstuff/__init__.py
diff --git a/rebelstuff/rebelstuff/urls.py b/rebelstuff/rebelstuff/urls.py
@@ -1,21 +0,0 @@1 -1 """rebelstuff URL Configuration2 -13 -1 The `urlpatterns` list routes URLs to views. For more information please see:4 -1 https://docs.djangoproject.com/en/2.2/topics/http/urls/5 -1 Examples:6 -1 Function views7 -1 1. Add an import: from my_app import views8 -1 2. Add a URL to urlpatterns: path('', views.home, name='home')9 -1 Class-based views10 -1 1. Add an import: from other_app.views import Home11 -1 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')12 -1 Including another URLconf13 -1 1. Import the include() function: from django.urls import include, path14 -1 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))15 -1 """16 -1 from django.contrib import admin17 -1 from django.urls import path18 -119 -1 urlpatterns = [20 -1 path('admin/', admin.site.urls),21 -1 ]
diff --git a/rebelstuff/rebelstuff/settings.py b/rebelstuff/settings.py
@@ -31,6 +31,7 @@ ALLOWED_HOSTS = [] 31 31 # Application definition 32 32 33 33 INSTALLED_APPS = [ -1 34 'rebelstuff', 34 35 'django.contrib.admin', 35 36 'django.contrib.auth', 36 37 'django.contrib.contenttypes',
diff --git a/rebelstuff/urls.py b/rebelstuff/urls.py
@@ -0,0 +1,6 @@
-1 1 from django.contrib import admin
-1 2 from django.urls import path
-1 3
-1 4 urlpatterns = [
-1 5 path('admin/', admin.site.urls),
-1 6 ]
diff --git a/rebelstuff/rebelstuff/wsgi.py b/rebelstuff/wsgi.py
@@ -11,6 +11,4 @@ import os 11 11 12 12 from django.core.wsgi import get_wsgi_application 13 1314 -1 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rebelstuff.settings')15 -116 14 application = get_wsgi_application()