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

url regex to match usernames should be updated

mstrickland
created an issue

Current version of the Django trunk allows for more types of characters in usernames than previously. Specifically, the new regex used is r'^[\w.@+-]+$' (instead of r'^\w+$). The urls.py should be updated to reflect this, or the profiles_profile_detail view will not function (nor will profiles_edit_profile as it calls reverse() on profiles_profile_detail).

Comments (6)

  1. Log in to comment