This add in url? El mar., 16 jun. 2020, 1:47 a. m., Ifeanyi Chielo <[email protected]> escribió:
> 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 <http://localhost:8000/admin/#> > > - C:\Users\IFEANYI > > CHIELO\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\handlers\exception.py > in inner > 1. response = get_response(request) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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)) ... > ▶ Local vars <http://localhost:8000/admin/#> > - C:\Users\IFEANYI > CHIELO\AppData\Local\Programs\Python\Python37\lib\urllib\parse.py in > urlunparse > 1. _coerce_args(*components)) ... > ▶ Local vars <http://localhost:8000/admin/#> > - 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") ... > ▶ Local vars <http://localhost:8000/admin/#> > > Request informationUSER > > AnonymousUser > GET > > No GET data > POST > > No POST data > FILES > > No FILES data > COOKIES > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f46f8e4c-f716-4b4f-a1a7-c16d5a819e8dn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f46f8e4c-f716-4b4f-a1a7-c16d5a819e8dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Bt%2BYr1ZTN79HhDmW44KMVg_FabvA8mRTQyF6mK9f%3DLraC-ZnQ%40mail.gmail.com.

