See the notes on the manage_user management command at https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/60227913/Managing+OpenEdX+Tips+and+Tricks.
The problem you are facing is a result of creating a user without an associated UserProfile. You can either use the management command above to update the user or login via Django admin (which does not rely on the profile), find the user, and re-save it (after making a minor change to the profile). On Sunday, August 13, 2017 at 5:16:05 PM UTC-4, Maitreya Verma wrote: > > I am working on another project and I faced this issue. I want to allow > superuser to log in to the website. Could any of you find a way to allow it > to happen? > > On Tuesday, August 6, 2013 at 12:54:13 AM UTC+5:30, Sergio Belkin wrote: >> >> Hi, >> >> When I go to http://192.168.20.40:8000/dashboard it outputs : >> >> DoesNotExist at /dashboard >> >> UserProfile matching query does not exist. >> >> Request Method: GET >> Request URL: http://192.168.20.40:8000/dashboard >> Django Version: 1.4.5 >> Exception Type: DoesNotExist >> Exception Value: >> >> UserProfile matching query does not exist. >> >> Exception Location: >> /home/vagrant/.virtualenvs/edx-platform/local/lib/python2.7/site-packages/django/db/models/query.py >> >> in get, line 366 >> Python Executable: /home/vagrant/.virtualenvs/edx-platform/bin/python >> Python Version: 2.7.3 >> >> Please could you tell me what's wrong? >> >> Thanks in advance! >> > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/3fd08819-8af7-498f-ad91-8e0948a319fd%40googlegroups.com.