summaryrefslogtreecommitdiff
path: root/docs/howto/static-files
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-11-07 02:11:27 -0800
committerCarlton Gibson <carlton.gibson@noumenal.es>2019-11-07 11:11:27 +0100
commit26554cf5d1e96db10d0d5f4b69683a22fb82fdf8 (patch)
tree57c685edd5ce651611e309e539a5eda80cd2f82b /docs/howto/static-files
parent77aa74cb70dd85497dbade6bc0f394aa41e88c94 (diff)
Fixed #29983 -- Replaced os.path() with pathlib.Path in project template and docs.
Thanks Curtis Maloney for the original patch.
Diffstat (limited to 'docs/howto/static-files')
-rw-r--r--docs/howto/static-files/index.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt
index 7b8366e66e..db2b520543 100644
--- a/docs/howto/static-files/index.txt
+++ b/docs/howto/static-files/index.txt
@@ -52,7 +52,7 @@ you can define a list of directories (:setting:`STATICFILES_DIRS`) in your
settings file where Django will also look for static files. For example::
STATICFILES_DIRS = [
- os.path.join(BASE_DIR, "static"),
+ BASE_DIR / "static",
'/var/www/static/',
]