Commit 0d448511 authored by Daniel W Bond's avatar Daniel W Bond

commented out saving testing

parent 797de8c4
......@@ -215,12 +215,12 @@ class Student(TimeStampedModel):
def __unicode__(self):
return unicode(self.user.username)
def save(self, *args, **kwargs):
print('we be savin\'!')
from django.db.models.signals import pre_save, post_save
for signal in [pre_save, post_save]:
print(signal, signal.receivers)
super(Student, self).save(*args, **kwargs)
#def save(self, *args, **kwargs):
#print('we be savin\'!')
#from django.db.models.signals import pre_save, post_save
#for signal in [pre_save, post_save]:
#print(signal, signal.receivers)
#super(Student, self).save(*args, **kwargs)
class Confirmation(TimeStampedModel):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment