[traceback] UndefinedError: 'users.forms.UserRegisterForm object' has no attribute 'non_form_errors'

RESOLVED FIXED

Status

RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: krupa.mozbugs, Assigned: andy+bugzilla)

Tracking

Details

(URL)

(Reporter)

Description

7 years ago
steps to reproduce:
1. Load https://addons-dev.allizom.org/en-US/firefox/users/register


traceback:
Traceback (most recent call last):

 File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/www/addons-dev.allizom.org/zamboni/vendor/lib/python/session_csrf/__init__.py", line 107, in wrapper
   response = f(request, *args, **kw)

 File "/data/www/addons-dev.allizom.org/zamboni/apps/users/views.py", line 521, in register
   return jingo.render(request, 'users/register.html', {'form': form, })

 File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/jingo/jingo/__init__.py", line 79, in render
   rendered = render_to_string(request, template, context)

 File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/jingo/jingo/__init__.py", line 97, in render_to_string
   return template.render(**get_context())

 File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 891, in render
   return self.environment.handle_exception(exc_info, True)

 File "/data/www/addons-dev.allizom.org/zamboni/apps/users/templates/users/register.html", line 2, in top-level template code
   {% from 'includes/forms.html' import required %}

 File "/data/www/addons-dev.allizom.org/zamboni/templates/base.html", line 110, in top-level template code
   {% block main_content %}

 File "/data/www/addons-dev.allizom.org/zamboni/templates/base.html", line 115, in block "main_content"
   {% block content %}{% endblock %}

 File "/data/www/addons-dev.allizom.org/zamboni/apps/users/templates/users/register.html", line 15, in block "content"
   {{ form.non_form_errors() }}

UndefinedError: 'users.forms.UserRegisterForm object' has no attribute 'non_form_errors'
(Assignee)

Comment 1

7 years ago
Reverted.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.