Posted over 2 years ago. Visible to the public. Draft.

django url parameters and view functions

url.py

Copy
url(r'^stores/',stores_views.detail,{'location':'headquarters'})

views.py

Copy
def detail(request,location=None):

Reference

url parameters

Owner of this card:

Avatar
Cuauhtemoc
Last edit:
almost 2 years ago
by Cuauhtemoc
Posted by Cuauhtemoc to Python Django
This website uses short-lived cookies to improve usability.
Accept or learn more