http://localhost:8000/admin/ is not working

62 views
Skip to first unread message

Ifeanyi Chielo

unread,
Jun 16, 2020, 2:46:34 AM6/16/20
to Django users
Please can anyone help me resolve this issue. the http://localhost:8000/admin/ is not working and returns an error below

TypeError at /admin/Cannot mix str and non-str argumentsRequest Method:
GETRequest URL:
http://localhost:8000/admin/Django Version:
2.1.5Exception Type:
TypeErrorException Value:
Cannot mix str and non-str argumentsException Location:
C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\urllib\parse.py in _coerce_args, line 120Python Executable:
C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\python.exePython Version:
3.7.2Python Path:
['C:\\Users\\IFEANYI CHIELO\\divinerest', 'C:\\Users\\IFEANYI ' 'CHIELO\\AppData\\Local\\Programs\\Python\\Python37\\python37.zip', 'C:\\Users\\IFEANYI CHIELO\\AppData\\Local\\Programs\\Python\\Python37\\DLLs', 'C:\\Users\\IFEANYI CHIELO\\AppData\\Local\\Programs\\Python\\Python37\\lib', 'C:\\Users\\IFEANYI CHIELO\\AppData\\Local\\Programs\\Python\\Python37', 'C:\\Users\\IFEANYI ' 'CHIELO\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages']Server time:
Tue, 16 Jun 2020 06:40:44 +0000
Traceback Switch to copy-and-paste view
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\handlers\exception.py in inner
    1. response = get_response(request) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\handlers\base.py in _get_response
    1. response = self.process_exception_by_middleware(e, request) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\handlers\base.py in _get_response
    1. response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\contrib\admin\sites.py in wrapper
    1. return self.admin_view(view, cacheable)(*args, **kwargs) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\decorators.py in _wrapped_view
    1. response = view_func(request, *args, **kwargs) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\views\decorators\cache.py in _wrapped_view_func
    1. response = view_func(request, *args, **kwargs) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\contrib\admin\sites.py in inner
    1. reverse('admin:login', current_app=self.name) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\contrib\auth\views.py in redirect_to_login
    1. return HttpResponseRedirect(urlunparse(login_url_parts)) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\urllib\parse.py in urlunparse
    1. _coerce_args(*components)) ...
  • C:\Users\IFEANYI CHIELO\AppData\Local\Programs\Python\Python37\lib\urllib\parse.py in _coerce_args
    1. raise TypeError("Cannot mix str and non-str arguments") ...
Request informationUSER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

COOKIES

cosmos multi

unread,
Jun 16, 2020, 2:53:15 AM6/16/20
to django...@googlegroups.com
This add in url? 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f46f8e4c-f716-4b4f-a1a7-c16d5a819e8dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages