From b64b9ec1af9cd9050c3aa25c4a8cd71fbe9e4196 Mon Sep 17 00:00:00 2001 From: Ruslan Ignatov Date: Tue, 28 Jun 2022 17:01:34 +0300 Subject: [PATCH] Removed helloworld --- dnd_db_site/settings.py | 1 - dnd_db_site/urls.py | 3 +-- helloworld/__init__.py | 0 helloworld/admin.py | 3 --- helloworld/apps.py | 6 ------ helloworld/migrations/__init__.py | 0 helloworld/models.py | 3 --- helloworld/tests.py | 3 --- helloworld/urls.py | 8 -------- helloworld/views.py | 5 ----- 10 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 helloworld/__init__.py delete mode 100644 helloworld/admin.py delete mode 100644 helloworld/apps.py delete mode 100644 helloworld/migrations/__init__.py delete mode 100644 helloworld/models.py delete mode 100644 helloworld/tests.py delete mode 100644 helloworld/urls.py delete mode 100644 helloworld/views.py diff --git a/dnd_db_site/settings.py b/dnd_db_site/settings.py index 137d9c9..0a0512d 100644 --- a/dnd_db_site/settings.py +++ b/dnd_db_site/settings.py @@ -32,7 +32,6 @@ ALLOWED_HOSTS = [env('HOST_1')] # Application definition INSTALLED_APPS = [ - 'helloworld', 'faerun_calendar', 'django.contrib.admin', 'django.contrib.auth', diff --git a/dnd_db_site/urls.py b/dnd_db_site/urls.py index 562e786..eefedf1 100644 --- a/dnd_db_site/urls.py +++ b/dnd_db_site/urls.py @@ -18,6 +18,5 @@ from django.urls import include, path urlpatterns = [ path('admin/', admin.site.urls), - path('', include('helloworld.urls')), - path('calendar/', include('faerun_calendar.urls')), + path('', include('faerun_calendar.urls')), ] diff --git a/helloworld/__init__.py b/helloworld/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/helloworld/admin.py b/helloworld/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/helloworld/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/helloworld/apps.py b/helloworld/apps.py deleted file mode 100644 index 4ebaf9c..0000000 --- a/helloworld/apps.py +++ /dev/null @@ -1,6 +0,0 @@ -from django.apps import AppConfig - - -class HelloworldConfig(AppConfig): - default_auto_field = 'django.db.models.BigAutoField' - name = 'helloworld' diff --git a/helloworld/migrations/__init__.py b/helloworld/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/helloworld/models.py b/helloworld/models.py deleted file mode 100644 index 71a8362..0000000 --- a/helloworld/models.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.db import models - -# Create your models here. diff --git a/helloworld/tests.py b/helloworld/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/helloworld/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/helloworld/urls.py b/helloworld/urls.py deleted file mode 100644 index 4c9189f..0000000 --- a/helloworld/urls.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.urls import path - -from . import views - -urlpatterns = [ - path('', views.index, name='index'), -] - diff --git a/helloworld/views.py b/helloworld/views.py deleted file mode 100644 index e36da09..0000000 --- a/helloworld/views.py +++ /dev/null @@ -1,5 +0,0 @@ -from django.http import HttpResponse - -def index(request): - return HttpResponse('Hallo, Welt!') -