[Django] #36375: Template rendering error for user model on admin interface

14 views
Skip to first unread message

Django

unread,
May 7, 2025, 10:30:33 PM5/7/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Type: Bug
Status: new | Component:
| contrib.auth
Version: 5.2 | Severity: Normal
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
When I attempt to add a new user via the admin interface, I get a
TemplateDoesNotExist error.

Steps to recreate:
1. Start the application locally on port 8000
2. Login with superuser credentials
3. Visit the admin URL
4. Click Users under Authentication and Authorization
5. Click the Add User icon on the right side of the screen

I do not have any customizations on the admin interface for the User
model.
--
Ticket URL: <https://code.djangoproject.com/ticket/36375>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 7, 2025, 10:30:55 PM5/7/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Larry Davis):

* Attachment "Admin Home.jpg" added.

Django

unread,
May 7, 2025, 10:33:24 PM5/7/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Larry Davis):

* Attachment "Users Screen.jpg" added.

Django

unread,
May 7, 2025, 10:33:39 PM5/7/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Larry Davis):

* Attachment "TemplateDoesNotExist.jpg" added.

Django

unread,
May 7, 2025, 10:33:47 PM5/7/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Larry Davis):

* Attachment "Template Code.jpg" added.

Django

unread,
May 7, 2025, 10:33:53 PM5/7/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Larry Davis):

* Attachment "Traceback.txt" added.

Django

unread,
May 8, 2025, 3:01:26 AM5/8/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
| worksforme
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

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

Comment:

Hello, this works for me

I recommend using our user support channels from
[https://docs.djangoproject.com/en/dev/faq/help/#how-do-i-do-x-why-
doesn-t-y-work-where-can-i-go-to-get-help this link]. If after further
debugging to identify the issue here, it turns out to be Django at fault,
you can reopen this ticket with further details. You may want to share
your admin file and settings when using the user support channels
--
Ticket URL: <https://code.djangoproject.com/ticket/36375#comment:1>

Django

unread,
May 8, 2025, 10:21:19 AM5/8/25
to django-...@googlegroups.com
#36375: Template rendering error for user model on admin interface
-------------------------------------+-------------------------------------
Reporter: Larry Davis | Owner: (none)
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.2
Severity: Normal | Resolution:
| worksforme
Keywords: admin template user | Triage Stage:
contrib.auth | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Larry Davis):

Thank you, Sarah. Apologies for not using the support channel first.
--
Ticket URL: <https://code.djangoproject.com/ticket/36375#comment:2>
Reply all
Reply to author
Forward
0 new messages