Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#21352 closed Bug (invalid)

Reverse url failed because argument contains dot

Reported by: banti124@… 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 Aymeric Augustin, 11 years ago

comment:2 by Baptiste Mispelon, 11 years ago

Resolution: invalid
Status: newclosed

in reply to:  2 comment:3 by banti124@…, 11 years ago

Replying to bmispelon:
Why this is marked invalid ?

comment:4 by Aymeric Augustin, 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.
Back to Top