R
Robocop
Is it possible to do something like this syntactically:
year = '2008'
month = '09'
limit = '31'
for i in range(1,limit):
temp = Table.objects.filter(date = year'-'month'-'i) <----screwed
up syntax
...do something with temp
return
I know that the syntax within the filter statement is wrong. Is it
even possible to do something like that? Any help is always
appreciated.
year = '2008'
month = '09'
limit = '31'
for i in range(1,limit):
temp = Table.objects.filter(date = year'-'month'-'i) <----screwed
up syntax
...do something with temp
return
I know that the syntax within the filter statement is wrong. Is it
even possible to do something like that? Any help is always
appreciated.