Changed mysite name to src
parent
04449cfeec
commit
84a4af5b1f
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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