Add heroku

This commit is contained in:
Andros Fenollosa 2021-07-14 17:12:41 +02:00
parent 3acc179084
commit a16079c308
2 changed files with 8 additions and 13 deletions

View File

@ -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
import django_heroku
# Build paths inside the project like this: BASE_DIR / 'subdir'.
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
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
# Activate Django-Heroku.
django_heroku.settings(locals())

View File

@ -3,4 +3,7 @@ djangorestframework==3.12.4
django-extensions==3.1.3
Faker==8.10.1
pytest==6.2.4
pytest-django==4.4.0
pytest-django==4.4.0
# Heroku
gunicorn
django-heroku