I have the following urls:
url(r'^(?P<college_name>\w+)/$', views.detail, name="detail"),
url(r'^(?P<photographer_username>\w+)/$', views.photographer, name="photographer"),
It works when I do /college_name url, but when typing in a photographer such as website.com/johnsmith it only searches the first url pattern and then stops.
If I put the photographer url pattern first, it works for photographers and not for colleges.
How do I fix it so it works for both?