1. James Bennett
  2. django-profiles
  3. Issues
Issue #13 resolved

URL pattern clash if username is "edit" or "create"

Anonymous created an issue

For obvious reasons:

The patterns are: {{{ ^create/$
^edit/$ ^(?P<username>\w+)/$ ^$ }}}

Now, if there is a user who decided to call themself "edit" or "create", someone wanting to view that profile would land on that respective page instead.

Comments (1)

  1. Log in to comment