Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
rref #5367
Browse files Browse the repository at this point in the history
  • Loading branch information
evrenesat committed Jul 8, 2016
1 parent b747c26 commit 00b902b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ulakbus/models/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ class Meta:
def full_name(self):
return "%s %s" % (self.name, self.surname)

def pre_save(self):
self.encrypt_password()

def post_creation(self):
self.prepare_channels()



# def send_message(self, title, message, sender=None):
Expand Down

0 comments on commit 00b902b

Please sign in to comment.