Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,9 @@ Create database:
createdb ___PROJNAME___
```

Change database name in `project/settings.py` to match the one you just created:
```
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'django', # ___CHANGEME___
'USER': 'postgres',
'PASSWORD': 'postgres'
},
}
Change database name in `.env` to match the one you just created:
```
POSTGRES_DB=__PROJNAME__
```

Django setup:
Expand Down
1 change: 1 addition & 0 deletions env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ DJANGO_ENV=dev
SECRET_KEY=dev
ALLOWED_HOSTS=*
WEB_URL=http://localhost:3000
POSTGRES_DB=__CHANGEME__

SMTP_USERNAME=
SMTP_PASSWORD=
1 change: 1 addition & 0 deletions requirements.init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ boto3
dj-database-url
django
django-admin-interface
django-admin-env-notice
django-dotenv
django-extensions
django-filter
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 200