* Fixed channel history to show in the correct order now.
* Two channels are now created by initial_setup.py for informative emits: MUDConnections and MUDInfo. * MUDConnections now shows a connection/login/logout log. * MUDInfo shows general informative messages about the server state. For now IMC emits here when things happen (connection, disconnection, etc.). Eventually we'll want to restrict these to staff only, but it's not high priority atm.
This commit is contained in:
parent
566a02b848
commit
547a5dd139
7 changed files with 86 additions and 23 deletions
|
|
@ -101,7 +101,7 @@ class CommChannelMessage(models.Model):
|
|||
date_sent = models.DateTimeField(editable=False, auto_now_add=True)
|
||||
|
||||
def __str__(self):
|
||||
return "%s: %s" % (self.sender.name, self.message)
|
||||
return "%s: %s" % (self.channel.name, self.message)
|
||||
|
||||
class Meta:
|
||||
ordering = ['-date_sent']
|
||||
Loading…
Add table
Add a link
Reference in a new issue