Skip to content

compatibility fix for Django 3#20

Open
kakulukia wants to merge 1 commit intoFantomas42:developfrom
kakulukia:develop
Open

compatibility fix for Django 3#20
kakulukia wants to merge 1 commit intoFantomas42:developfrom
kakulukia:develop

Conversation

@kakulukia
Copy link

def upath(path):
    """Always return a unicode path (did something for Python 2)."""
    return path

I don't quite understand what it did anyway. :)

@Yattus
Copy link

Yattus commented Jan 21, 2021

Issue Incompatibility with Django early version:
ImportError: cannot import name 'upath' from 'django.utils._os' from app_namespace/loader.py, line 9
Alternative solution for me: Install django-apptemplates
Install link with pip : link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants