comparison gpp/irc/models.py @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 """Models for the IRC application.
2 The IRC application simply reports who is in the site's IRC chatroom. A bot in the channel updates
3 the table and we read it.
4 """
5 from django.db import models
6
7 class IrcChannel(models.Model):
8 name = models.CharField(max_length=30)
9 last_update = models.DateTimeField()
10
11 def __unicode__(self):
12 return self.name
13
14 class Meta:
15 ordering = ('name', )