Add heroku
This commit is contained in:
parent
3acc179084
commit
a16079c308
@ -1,16 +1,5 @@
|
|||||||
"""
|
|
||||||
Django settings for proyect project.
|
|
||||||
|
|
||||||
Generated by 'django-admin startproject' using Django 3.2.5.
|
|
||||||
|
|
||||||
For more information on this file, see
|
|
||||||
https://docs.djangoproject.com/en/3.2/topics/settings/
|
|
||||||
|
|
||||||
For the full list of settings and their values, see
|
|
||||||
https://docs.djangoproject.com/en/3.2/ref/settings/
|
|
||||||
"""
|
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
import django_heroku
|
||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||||
@ -127,3 +116,6 @@ STATIC_ROOT = "static"
|
|||||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
|
||||||
|
|
||||||
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
||||||
|
|
||||||
|
# Activate Django-Heroku.
|
||||||
|
django_heroku.settings(locals())
|
||||||
|
@ -3,4 +3,7 @@ djangorestframework==3.12.4
|
|||||||
django-extensions==3.1.3
|
django-extensions==3.1.3
|
||||||
Faker==8.10.1
|
Faker==8.10.1
|
||||||
pytest==6.2.4
|
pytest==6.2.4
|
||||||
pytest-django==4.4.0
|
pytest-django==4.4.0
|
||||||
|
# Heroku
|
||||||
|
gunicorn
|
||||||
|
django-heroku
|
Loading…
Reference in New Issue
Block a user