mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-07-21 19:34:26 +02:00
Project skeleton
This commit is contained in:
parent
2e443ea77b
commit
8c62d68803
2451 changed files with 1134868 additions and 17 deletions
|
@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'crispy_forms'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
@ -54,7 +55,7 @@ ROOT_URLCONF = 'routerfleet.urls'
|
|||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': ['templates'],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
@ -116,6 +117,11 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/5.0/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
STATIC_ROOT = '/app_static_files/'
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / "static_files",
|
||||
]
|
||||
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue