Cannot import name 'urlquote' from 'django.utils.http'

I am trying to login to the admin portal, however I am getting the below error. Please help I have been searching for solution but nothing

Exception Type: ImportError at /admin/login/ Exception Value: cannot import name 'urlquote' from 'django.utils.http' (C:_project\my-events\env\lib\site-packages\django\utils\http.py)

Features removed in 4.0¶ These features have reached the end of their deprecation cycle and are removed in Django 4.0.

See Features deprecated in 3.0 for details on these changes, including how to remove usage of these features.

django.utils.http.urlquote(), urlquote_plus(), urlunquote(), and urlunquote_plus() are removed.

Back to Top