Project skeleton

This commit is contained in:
Eduardo Silva 2024-03-10 21:50:12 -03:00
parent 2e443ea77b
commit 8c62d68803
2451 changed files with 1134868 additions and 17 deletions

View file

@ -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