I am facing this issue

14 views
Skip to first unread message

Gaurav Shrivastava

unread,
May 8, 2020, 10:40:47 AM5/8/20
to Django users

RelatedObjectDoesNotExist at /account/edit/

User has no profile.
Request Method:GET
Request URL:http://localhost:8000/account/edit/
Django Version:2.0.5
Exception Type:RelatedObjectDoesNotExist
Exception Value:
User has no profile.
Exception Location:D:\python\projects\env\bookmarks\lib\site-packages\django\db\models\fields\related_descriptors.py in __get__, line 386
Python Executable:D:\python\projects\env\bookmarks\Scripts\python.exe
Python Version:3.8.1
Python Path:
['D:\\python\\projects\\env\\social_site',
 'D:\\python\\projects\\env\\bookmarks\\Scripts\\python38.zip',
 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python38-32\\DLLs',
 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python38-32\\lib',
 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python38-32',
 'D:\\python\\projects\\env\\bookmarks',
 'D:\\python\\projects\\env\\bookmarks\\lib\\site-packages']
Server time:Fri, 8 May 2020 05:19:23 +0000

Shubhanshu Arya

unread,
May 8, 2020, 12:28:55 PM5/8/20
to Django users
May be your URL pattern is incorrect.

sahil khan

unread,
May 8, 2020, 6:18:09 PM5/8/20
to django...@googlegroups.com
Plz show our video on youtube and got your sollution on our youtube community errormania.
Like,comment and subscribe 


Ty broo

--
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/79c8a26c-e766-4983-9da1-8210161154b6%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages