Add dummy data

This commit is contained in:
Andros Fenollosa
2021-03-09 22:03:17 +01:00
parent e3e1a0144c
commit 8ea8476cc8
11 changed files with 6206 additions and 32 deletions

View File

@ -77,16 +77,10 @@ TEMPLATES = [
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'demo',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': '127.0.0.1',
'PORT': '5432',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
# Password validation
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators
@ -117,13 +111,14 @@ USE_I18N = False
USE_L10N = False
USE_TZ = False
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.1/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
ASGI_APPLICATION = "asgi.application"