Skip to content

Instantly share code, notes, and snippets.

@jjangdm
Created December 15, 2012 08:23
Show Gist options
  • Save jjangdm/4292115 to your computer and use it in GitHub Desktop.
Save jjangdm/4292115 to your computer and use it in GitHub Desktop.
def searched_day(request):
today = datetime.datetime.now()
if 'sdate' in request.POST and request.POST['sdate']:
sdate = request.POST['sdate']
date_etc = M_etc.objects.filter(date=sdate)
...
...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment