mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-23 15:02:54 +03:00
Merge pull request #552 from shireenrao/patch-2
Update developing locally docs on how to setup .env file
This commit is contained in:
commit
8ab37f9243
|
@ -23,7 +23,7 @@ Then, create a PostgreSQL database with the following command, where `[project_s
|
|||
|
||||
$ createdb [project_slug]
|
||||
|
||||
`Cookiecutter Django` uses the excellent `django-environ`_ package with its ``DATABASE_URL`` environment variable to simplify database configuration in your Django settings. Now all you have to do is compose a definition for ``DATABASE_URL``:
|
||||
`Cookiecutter Django` uses the excellent `django-environ`_ package with its ``DATABASE_URL`` environment variable to simplify database configuration in your Django settings. Now all you have to do is rename env.example to .env and then compose a definition for ``DATABASE_URL`` as shown below and add it to the .env file:
|
||||
|
||||
.. parsed-literal::
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user