mirror of https://github.com/django/django.git
Updated settings example in overriding templates docs.
Follow up to ba4389a36b
.
This commit is contained in:
parent
53b6a466d8
commit
2117b7c12e
|
@ -29,7 +29,7 @@ called ``blog``, which provides the templates ``blog/post.html`` and
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
BASE_DIR = Path(__file__).resolve(strict=True).parents[1]
|
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
...,
|
...,
|
||||||
|
|
Loading…
Reference in New Issue