Closed
Bug 1459156
Opened 7 years ago
Closed 5 years ago
Adding additional Django users via admin panel does not work
Categories
(Webtools Graveyard :: Pontoon, defect, P5)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: exile, Assigned: mathjazz)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180406121424
Steps to reproduce:
When enabling Pontoon to work with Django users by enabling DJANGO_LOGIN=True, I tried to create a new user for testing via the Django admin /a panel.
Actual results:
Trying to add a new user fails with the following error:
ValueError at /a/auth/user/add/
"<User: test>" needs to have a value for field "id" before this many-to-many relationship can be used.
The only workaround for local user management at the moment seems to be creating additional superusers and removing the admin rights from these users via the Django admin panel /a
Expected results:
I would expect that even for testing/dev purposes it would be possible to add users via the Django /a interface.
| Assignee | ||
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Comment 1•5 years ago
|
||
I ran into the the same bug.
Here is the stacktrace:
| Comment hidden (offtopic) |
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → m
Comment 3•5 years ago
|
||
| Assignee | ||
Comment 4•5 years ago
|
||
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•