commented out some unimplemented test code

This commit is contained in:
yekibud 2012-01-20 16:47:41 -08:00
parent 1a4c6520a6
commit 3e8d6edfc7

View File

@ -161,9 +161,9 @@ class TicketForm(forms.Form):
def clean_due_date(self):
data = self.cleaned_data['due_date']
#import ipdb; ipdb.set_trace()
if not hasattr(self, 'instance') or self.instance.due_date != new_data:
print "you changed!"
#TODO: add Google calendar update hook
#if not hasattr(self, 'instance') or self.instance.due_date != new_data:
# print "you changed!"
return data
attachment = forms.FileField(