Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
settings: Change default DEBUG to True for development (set to False …
Browse files Browse the repository at this point in the history
…in production)
  • Loading branch information
jpmckinney committed Apr 1, 2021
1 parent dbae938 commit c354eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ Load test data:

Retrieve remote data:

```shell
env DB_NAME=covid19_test ./manage.py fetch_covid_active_cases
```

## Tasks

Retrieve remote data:

```shell
./manage.py fetch_covid_active_cases
```
Expand All @@ -53,7 +45,7 @@ Retrieve remote data:
Run a development server:

```shell
env DEBUG=True ./manage.py runserver
./manage.py runserver
```

To add, remove or upgrade a requirement, [follow these instructions](https://ocp-software-handbook.readthedocs.io/en/latest/python/applications.html#requirements).
Expand Down
2 changes: 1 addition & 1 deletion covidadmin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
env = environ.Env(
# set casting, default value
SECRET_KEY=(str, "ig0(igk8+n76thmh-@%*n4bc1ra3sq-#x)kx6bqf&zdh9n1*+8"),
DEBUG=(bool, False),
DEBUG=(bool, True),
ALLOWED_HOSTS=(list, []),
DB_ENGINE=(str, "django.db.backends.postgresql_psycopg2"),
DB_NAME=(str, "covid19"),
Expand Down

0 comments on commit c354eca

Please sign in to comment.