You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def_sanitize_path(filepath):
try:
path_root=Path(getattr(settings, 'SENDFILE_ROOT', None))
exceptTypeError:
raiseImproperlyConfigured('You must specify a value for SENDFILE_ROOT')
filepath_obj=Path(filepath)
# get absolute path# Python 3.5: Path.resolve() has no `strict` kwarg, so use pathmod from an# already instantiated Path object>filepath_abs=Path(filepath_obj._flavour.pathmod.normpath(str(path_root/filepath_obj)))
EAttributeError: module'posixpath'hasnoattribute'pathmod'
Fix
actions & readme needs updating so we start testing on 3.12
code (obviously!) needs updating
Who?
I don't have a PR ready yet, this is a simple fix but some time needs to be spent. Currently I'm not working on this, but if anything changes I'll let you know.
Thanks for maintaining django-sendfile!
The text was updated successfully, but these errors were encountered:
Traceback
Fix
Who?
I don't have a PR ready yet, this is a simple fix but some time needs to be spent. Currently I'm not working on this, but if anything changes I'll let you know.
Thanks for maintaining django-sendfile!
The text was updated successfully, but these errors were encountered: