Commit b74499ee authored by Bruno Martin's avatar Bruno Martin
Browse files

add str method do ProfessorMessage

parent 94cb043a
......@@ -663,6 +663,9 @@ class ProfessorMessage(models.Model):
blank=True,
)
def __str__(self):
return self.professor.name + " - " + self.subject + " - " + str(self.date)
def send(self):
# bcc = list with all destinataries
# batch = bcc.split( constant )
......
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