mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator.
This caused permission errors when user didn't have permissions to all intermediate directories in a Django installation path. Thanks tytusd and leonyxz for reports. Regression inedeec1247eand26554cf5d1.
This commit is contained in:
@@ -29,7 +29,7 @@ called ``blog``, which provides the templates ``blog/post.html`` and
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
INSTALLED_APPS = [
|
||||
...,
|
||||
|
||||
Reference in New Issue
Block a user