Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8353 closed (fixed)

TemplateSyntaxError when adding user in admin

Reported by: marzim Owned by: Brian Rosner
Component: contrib.admin Version: dev
Severity: Keywords:
Cc: martin@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When trying to add a user in admin you get a TemplateSyntaxError (url: <server>/admin/auth/user/add/). It's in the file: django/contrib/admin/templates/admin/change_form.html on line 61

  	{% prepopulated_fields_js %}

When outcommented, the error disappear.

Change History (3)

comment:1 by Brian Rosner, 16 years ago

milestone: 1.0
Owner: changed from nobody to Brian Rosner
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 by Brian Rosner, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [8421]) Fixed #8353 -- Corrected the case when adminform is not in the context when rendering {% prepopulated_fields_js %} in the admin. Thanks evan_schulz for the initial patch.

comment:3 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top