django url parameters and view functions

Posted Over 5 years ago. Visible to the public. Draft.

url.py

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

views.py

def detail(request,location=None):

Reference

url parameters Show archive.org snapshot

Cuauhtemoc
Last edit
Over 5 years ago
Cuauhtemoc
Posted by Cuauhtemoc to Python Django (2018-07-24 13:56)