Re: URL reverse on username failing when username has a '.' literal in it
That probably means that the regex url pattern you defined for
feed_user in your urls.py file doesn't allow '.'
Hope that helps,
Alex
On Jul 22, 11:11 am, Roboto <robc...@gmail.com> wrote:
> I didn't expect this to occur, but when I attempt
> {% url feed_user entry.username %}
>
> I will get a 500 error when the username contains a '.'
> In this case rob.e as a username will fail.
>
> Any ideas how to deal with this?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home