for example:
url(r'^contact$', 'app.views.contact', name='contact'),
Here is syntax for parameter in regular expresion.
In the view we are creating definition with parameters
for example:
def artistdetails(request, name):
return
#sending data to the user




No comments:
Post a Comment