Skip to content

Commit 0399249

Browse files
committed
Merge pull request #334 from hjwp/usetzs
No need to set USE_TZ = False (fixed #165)
2 parents caf9c83 + 9a61b2a commit 0399249

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

en/django_start_project/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,16 @@ Let's ignore the other files for now - we won't change them. The only thing to r
5050

5151
Let's make some changes in `mysite/settings.py`. Open the file using the code editor you installed earlier.
5252

53-
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` )
53+
It would be nice to have the correct time on our website. Go to the [wikipedia timezones list](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+
In settings.py, find the line that contains `TIME_ZONE` and modify it to choose your own timezone:
5656

57-
TIME_ZONE = 'Europe/Berlin'
57+
```python
58+
TIME_ZONE = 'Europe/Berlin'
59+
```
60+
61+
Modifying "Europe/Berlin" as appropriate
5862

59-
USE_TZ = False
6063

6164
## Setup a database
6265

0 commit comments

Comments
 (0)