From 257baa171c07c243d65fe7cf4bd9fe8316e0ac45 Mon Sep 17 00:00:00 2001 From: Nienzu Date: Sun, 15 Aug 2021 17:41:34 +0800 Subject: Update translation Learn/Server-side/Django/skeleton_website, zh-TW (#2053) * update tutorial link and time zone * restore tutorial link to 7 --- .../server-side/django/skeleton_website/index.html | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'files') diff --git a/files/zh-tw/learn/server-side/django/skeleton_website/index.html b/files/zh-tw/learn/server-side/django/skeleton_website/index.html index b57b351eae..5e08042699 100644 --- a/files/zh-tw/learn/server-side/django/skeleton_website/index.html +++ b/files/zh-tw/learn/server-side/django/skeleton_website/index.html @@ -166,7 +166,7 @@ cd locallibrary

settings.py裡還包括其他的一些設置,現在只需要改變時區 —改為和標準tz時區數據表  裡的字符串相同就可以了(數據表裡的TZ列有你想要的時區)。TIME_ZONE的值改為你的時區,比如

-
TIME_ZONE = 'Europe/London'
+
TIME_ZONE = 'Asia/Taipei'

有兩個設置你現在不會用到,不過你應該留意:

@@ -370,19 +370,19 @@ python3 manage.py migrate

本教程連結

-- cgit v1.2.3-54-g00ecf