django - What did I do wrong with my URL? -
simple question. reading docs, i'm having trouble understanding syntax in urls.
(r'^accounts/(?p<username>)/(listview)/$')
what did wrong here? note, username variable whereas listview not. should setup enduser can go /accounts/ben/listview/ , view profile in list view.
perhaps should (r'^accounts/(?p<username>)/listview/$')
, see no need parenthesize listview
bit if not variable.
Comments
Post a Comment