#21352 closed Bug (invalid)
Reverse url failed because argument contains dot
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Core (URLs) | Version: | 1.5 |
Severity: | Release blocker | Keywords: | Urlresolver, escape special character, username regex |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Exception Value:
Reverse for 'user-home' with arguments '()' and keyword arguments '{'usernameinurl': u'shubham.kr619'}' not found.
At this line :
return redirect(reverse('user:user-home',kwargs={'usernameinurl':request.user.username}))
Change History (4)
comment:1 by , 11 years ago
follow-up: 3 comment:2 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 11 years ago
Because it's a bug in your code, not in Django, as explained in my first comment.
(I forgot to close the ticket and Baptiste did it for me.)
Note:
See TracTickets
for help on using tickets.
Please see TicketClosingReasons/UseSupportChannels. Thank you.