#11610: NoReverseMatch on users with @ in name
-------------------------------------+--------------------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: 1.0
Keywords: noreversematch | Stage: Unreviewed
Has_patch: 0 |
-------------------------------------+--------------------------------------
The function RegexURLResolver.reverse throws a NoReverseMatch exception on
users with the symbol @ in their username. It is possible to create such
users in the ReviewBoard application. Let me know if further information
is need, I'll be happy to supply. Thank you for a great product.
{{{
TemplateSyntaxError at /r/4/
Caught an exception while rendering: Reverse for 'user' with arguments
'(<User: [email protected]>,)' and keyword arguments '{}' not found.
Original Traceback (most recent call last):
File "/usr/lib/python2.4/site-
packages/Django-1.1-py2.4.egg/django/template/debug.py", line 71, in
render_node
result = node.render(context)
File "/usr/lib/python2.4/site-
packages/Django-1.1-py2.4.egg/django/template/defaulttags.py", line 382,
in render
raise e
NoReverseMatch: Reverse for 'user' with arguments '(<User: [email protected]>,)'
and keyword arguments '{}' not found.
Request Method: GET
Request URL: http://example.com/r/4/
Exception Type: TemplateSyntaxError
Exception Value:
Caught an exception while rendering: Reverse for 'user' with arguments
'(<User: [email protected]>,)' and keyword arguments '{}' not found.
Original Traceback (most recent call last):
File "/usr/lib/python2.4/site-
packages/Django-1.1-py2.4.egg/django/template/debug.py", line 71, in
render_node
result = node.render(context)
File "/usr/lib/python2.4/site-
packages/Django-1.1-py2.4.egg/django/template/defaulttags.py", line 382,
in render
raise e
NoReverseMatch: Reverse for 'user' with arguments '(<User: [email protected]>,)'
and keyword arguments '{}' not found.
Exception Location: /usr/lib/python2.4/site-
packages/Django-1.1-py2.4.egg/django/template/debug.py in render_node,
line 81
Python Executable: /usr/bin/python
Python Version: 2.4.3
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/11610>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---