Remove debug stuff
This commit is contained in:
parent
1b7152930d
commit
a13bba420f
1 changed files with 0 additions and 5 deletions
|
@ -46,14 +46,9 @@ def switch_entry(request, pk):
|
|||
|
||||
|
||||
def search_view(request):
|
||||
print('Debug: 1')
|
||||
if request.method == 'POST':
|
||||
print('Debug: 2')
|
||||
form = SearchForm(request.POST)
|
||||
print('Debug: form is_valid: %s' % form.is_valid())
|
||||
print('Debug: form: %s' % form)
|
||||
if form.is_valid():
|
||||
print('Debug: 3')
|
||||
date = form.cleaned_data['date']
|
||||
return redirect(reverse('log_day', kwargs={
|
||||
'source': form.cleaned_data['source'],
|
||||
|
|
Loading…
Reference in a new issue