Changed mysite name to src
parent
04449cfeec
commit
84a4af5b1f
|
@ -139,4 +139,7 @@ Here `path()` function is passed **route** and **view**; two additional option a
|
||||||
* `path()` argument **route**: a string that contains a URL pattern. When Django processing a request, it starts at the first pattern in `urlpatterns` and go down the list, comparing requested URL against each pattern
|
* `path()` argument **route**: a string that contains a URL pattern. When Django processing a request, it starts at the first pattern in `urlpatterns` and go down the list, comparing requested URL against each pattern
|
||||||
* `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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue