Mercurial > public > sg101
diff irc/models.py @ 656:79e785f0bdad
For issue #38, change IRC bot to use Redis instead of MySQL.
Also deleting the bot from this repo as it now has its own repo.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 11 May 2013 15:22:45 -0500 |
parents | ee87ea74d46b |
children |
line wrap: on
line diff
--- a/irc/models.py Sat May 11 12:56:41 2013 -0500 +++ b/irc/models.py Sat May 11 15:22:45 2013 -0500 @@ -1,15 +1,1 @@ -"""Models for the IRC application. -The IRC application simply reports who is in the site's IRC chatroom. A bot in the channel updates -the table and we read it. -""" -from django.db import models - -class IrcChannel(models.Model): - name = models.CharField(max_length=30) - last_update = models.DateTimeField() - - def __unicode__(self): - return self.name - - class Meta: - ordering = ('name', ) +"""Models for the IRC application."""