thanks for answering.
actually, i don´t really know my query parameters.
could be responsible__id__exact=5
or status__exact=1
or responsible__id__exact=5&status__exact=5
... and so on.
so, it´d be nice to have something like milestones_list =
milestones.get_list(x), where x is the query.
thanks,
patrick
Am 17.01.2006 um 15:29 schrieb scum:
All get variables are automagically placed into the request.GET
dictionary. In your example:
http://mysite.com/manage/projects/1/milestones/?
responsible__id__exact=1
Your variable `responsible__id__exact` would be obtained through the
code:
myVar = request.GET["responsible__id__exact"]
or
myVar = request.GET.get("responsible__id__exact", None)
The second method is recommended because it will set myVar to None if
the GET variable is not specified.
Hope this helps.