From a386d724815499f3480306a2440aaf31d0ae8422 Mon Sep 17 00:00:00 2001 From: Nienzu Date: Sun, 15 Aug 2021 17:38:20 +0800 Subject: Change link to l10n Learn/Server-side/Django/Tutorial_local_library_website, zh-CN (#2052) * update link from en-US to zh-TW * restore the link to tutorial 7 --- .../tutorial_local_library_website/index.html | 29 +++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'files/zh-tw/learn/server-side/django') diff --git a/files/zh-tw/learn/server-side/django/tutorial_local_library_website/index.html b/files/zh-tw/learn/server-side/django/tutorial_local_library_website/index.html index 3e2cae3be5..c34c9369b6 100644 --- a/files/zh-tw/learn/server-side/django/tutorial_local_library_website/index.html +++ b/files/zh-tw/learn/server-side/django/tutorial_local_library_website/index.html @@ -75,18 +75,19 @@ translation_of: Learn/Server-side/Django/Tutorial_local_library_website

本系列教學

-- cgit v1.2.3-54-g00ecf 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/zh-tw/learn/server-side/django') 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