Hi there.
I hope to know the solution for the following:
say, there are several links to one function but I would like to identify which link that come from.
url.py looks
(r'^link1/$', 'project.apps.main.get'),
(r'^link2/$', 'project.apps.main.get'),
(r'^link3/$', 'project.apps.main.get'),
(r'^link4/$', 'project.apps.main.get'),
In 'get' function, how can I know which link does that come from? Later, I want to get a parameter , 1, 2, 3, 4 in that function.
If anyone have a good idea? please teach me.