Skip to content

Commit 0b0f73e

Browse files
committed
No need to set USE_TZ = False
1 parent caf9c83 commit 0b0f73e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

en/django_start_project/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ Let's make some changes in `mysite/settings.py`. Open the file using the code ed
5252

5353
It would be nice to have the correct time on our website. Go to http://en.wikipedia.org/wiki/List_of_tz_database_time_zones and copy your relevant time zone (TZ). (eg. `Europe/Berlin` )
5454

55-
You should find lines that contain `USE_TZ` and `TIME_ZONE` and modify them to look like this, substituting `Europe/Berlin` with your relevant time zone:
55+
You should find lines that contains `TIME_ZONE` and modify it to choose your own timezone (here's a full [list of timezones](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones))
5656

57-
TIME_ZONE = 'Europe/Berlin'
57+
```python
58+
TIME_ZONE = 'Europe/Berlin'
59+
```
5860

59-
USE_TZ = False
6061

6162
## Setup a database
6263

0 commit comments

Comments
 (0)