Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

urls.py defines overlapping urls #9

Closed
dmoisset opened this Issue · 0 comments

2 participants

@dmoisset

Inside the urlconf, the url definition:

 url(r"^(?P<profile_slug>[\w\._-]+)/$" ... name="profile_detail"

"hides" the definitions below for edit/ and create/ ; i.e., if you visit .../profiles/create/ , the urlconf matches profile_detail with profile_slug="create" instead of matching "profile_create"

@paltman paltman closed this issue from a commit
@mattions mattions Fix the url order, to avoid the clash between usernames and the actio…
…n url.

With the previous order create and edit were recognised as username and a 404 page was given as response. This fix #9
384a02b
@paltman paltman closed this in 384a02b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.