Changed mysite name to src

master
Jason Zhu 2020-10-20 10:39:20 +11:00
parent 04449cfeec
commit 84a4af5b1f
15 changed files with 5 additions and 2 deletions

View File

@ -140,3 +140,6 @@ Here `path()` function is passed **route** and **view**; two additional option a
* `path()` argument **view**: when Django finds a matching pattern, it calls specified view function (a `HttpRequest` obj as the 1st argument, and others captured values as keyword argument) * `path()` argument **view**: when Django finds a matching pattern, it calls specified view function (a `HttpRequest` obj as the 1st argument, and others captured values as keyword argument)
* `path()` argument **kwargs**: passed in a dictionary to the target view * `path()` argument **kwargs**: passed in a dictionary to the target view
* `path()` argument **name**: naming URL, so we can refer to it elsewhere. * `path()` argument **name**: naming URL, so we can refer to it elsewhere.
## Database setup

View File

@ -105,7 +105,7 @@ AUTH_PASSWORD_VALIDATORS = [
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC' TIME_ZONE = 'Australia/Canberra'
USE_I18N = True USE_I18N = True