Django Query String маршрут
(r'^user/(?P<username>\w{0,50})/$', views.profile_page,),
Obedient Osprey
(r'^user/(?P<username>\w{0,50})/$', views.profile_page,),
def profile_page(request, username):
# Rest of the method