praktikum Aufgabe7

This commit is contained in:
Nadege
2019-11-26 15:19:44 +01:00
parent dcb4c6c41e
commit dd08dc74f6
7 changed files with 70 additions and 10 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'de-de'
TIME_ZONE = 'UTC'
+2
View File
@@ -13,6 +13,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
from django.urls import path,include
from posts import views
@@ -20,4 +21,5 @@ from posts import views
urlpatterns = [
path('posts/', include('posts.urls')),
path('admin/', admin.site.urls),
]