[Django] #29902: Django 2.* - Admin - relation "auth_user" does not exist

16 views
Skip to first unread message

Django

unread,
Oct 29, 2018, 12:02:08 AM10/29/18
to django-...@googlegroups.com
#29902: Django 2.* - Admin - relation "auth_user" does not exist
-----------------------------------------+------------------------
Reporter: raney24 | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.1
Severity: Normal | Keywords: admin
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
I can't create an admin user and login without getting this error message:


{{{
relation "auth_user" does not exist
LINE 1: ...user"."is_active", "auth_user"."date_joined" FROM "auth_user...
}}}


I have tried with version 2.0 and 2.1 with the same error. There is
nothing unique about my project. I do the following:

Create the project > keep sqlite as default values > createsuperuser >
then try to login

I have tried using postgresql and got the same error.

Other info:
macOS Mojave 10.14 * **I suspect this may be the issue**
Python 3.7

Let me know if you need the full traceback.

--
Ticket URL: <https://code.djangoproject.com/ticket/29902>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 29, 2018, 8:23:59 AM10/29/18
to django-...@googlegroups.com
#29902: Django 2.* - Admin - relation "auth_user" does not exist
-------------------------------+--------------------------------------
Reporter: Kyle Raney | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution: invalid

Keywords: admin | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => invalid


Comment:

It sounds like you didn't run `manage.py migrate` to create the database
tables. In the future, please use TicketClosingReasons/UseSupportChannels
to find places to get help. This ticket tracker is used to report
confirmed bugs rather than for getting help.

--
Ticket URL: <https://code.djangoproject.com/ticket/29902#comment:1>

Reply all
Reply to author
Forward
0 new messages