1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔧 Configure Italian timezone in runConfiguration

This commit is contained in:
Steffo 2021-04-06 23:21:43 +02:00
parent e6a2574788
commit 3fbdd08133
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@
<env name="DJANGO_SETTINGS_MODULE" value="sophon.settings" /> <env name="DJANGO_SETTINGS_MODULE" value="sophon.settings" />
<env name="DJANGO_SECRET_KEY" value="change-me-in-production" /> <env name="DJANGO_SECRET_KEY" value="change-me-in-production" />
<env name="DJANGO_DEBUG" value="1" /> <env name="DJANGO_DEBUG" value="1" />
<env name="DJANGO_TIME_ZONE" value="CET" />
</envs> </envs>
<option name="SDK_HOME" value="/usr/bin/python3.9" /> <option name="SDK_HOME" value="/usr/bin/python3.9" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/sophon" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/sophon" />

View file

@ -19,7 +19,7 @@ The following environment variables should be set:
- `DJANGO_DATABASE_USER`: the username of the PostgreSQL user to login as - `DJANGO_DATABASE_USER`: the username of the PostgreSQL user to login as
- `DJANGO_DATABASE_PASSWORD`: the password of the PostgreSQL user to login as - `DJANGO_DATABASE_PASSWORD`: the password of the PostgreSQL user to login as
- `DJANGO_LANGUAGE_CODE`: the language to use in the dynamic pages - `DJANGO_LANGUAGE_CODE`: the language to use in the dynamic pages
- `DJANGO_TIME_ZONE`: the timezone to use in the display of datetimes - `DJANGO_TIME_ZONE`: the timezone to use in the display of datetimes (Italy uses `CET`)
- `DJANGO_SETTINGS_MODULE`: should always be `sophon.settings` - `DJANGO_SETTINGS_MODULE`: should always be `sophon.settings`
## Development ## Development