As an example:
view.py
def view1( request ): return HttpResponse( \"just a test...\" )
urls.py
urlpatterns = patter
If you want the url of the view1 into the view1 the best is request.get_path()