|
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
|
'django.contrib.sessions',
|
|
'django.contrib.sessions',
|
|
'django.contrib.messages',
|
|
'django.contrib.messages',
|
|
'django.contrib.staticfiles',
|
|
'django.contrib.staticfiles',
|
|
|
|
+ 'catster'
|
|
]
|
|
]
|
|
|
|
|
|
MIDDLEWARE = [
|
|
MIDDLEWARE = [
|
|
@@ -54,7 +55,7 @@ ROOT_URLCONF = 'catster.urls'
|
|
TEMPLATES = [
|
|
TEMPLATES = [
|
|
{
|
|
{
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
|
- 'DIRS': [],
|
|
|
|
|
|
+ 'DIRS': ['templates'],
|
|
'APP_DIRS': True,
|
|
'APP_DIRS': True,
|
|
'OPTIONS': {
|
|
'OPTIONS': {
|
|
'context_processors': [
|
|
'context_processors': [
|
|
@@ -116,5 +117,5 @@ USE_TZ = True
|
|
|
|
|
|
# Static files (CSS, JavaScript, Images)
|
|
# Static files (CSS, JavaScript, Images)
|
|
# https://docs.djangoproject.com/en/2.1/howto/static-files/
|
|
# https://docs.djangoproject.com/en/2.1/howto/static-files/
|
|
-
|
|
|
|
|
|
+STATIC_ROOT = 'static'
|
|
STATIC_URL = '/static/'
|
|
STATIC_URL = '/static/'
|