"www.sommitrealweird.co.uk",
"www.sommitrealweird.co.uk.",
"10.0.3.191",
+ "127.0.0.1",
+ "localhost",
]
MANAGERS = ADMINS
}
}
+DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
+
+DEBUG = True
+
+
TIME_ZONE = 'Europe/London'
LANGUAGE_CODE = 'en-gb'
MEDIA_ROOT = os.path.join(topdir, 'media') + os.sep
MEDIA_URL = '/media/'
-STATIC_ROOT = '/usr/lib/python3/dist-packages/django/contrib/admin/static/'
+STATIC_ROOT = '/home/brettp/python-envs/django/lib/python3.11/site-packages/django/contrib/admin/static/'
STATIC_URL = '/static/'
import random
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
- 'django.contrib.admindocs.middleware.XViewMiddleware',
)
ROOT_URLCONF = 'urls'
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
+ 'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.debug',