Mercurial > public > sg101
comparison core/models.py @ 599:2f5779e9d8f8
Fix max users stat not updating.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 04 Jul 2012 00:14:00 -0500 |
parents | ee87ea74d46b |
children |
comparison
equal
deleted
inserted
replaced
598:2e429e2b7bb6 | 599:2f5779e9d8f8 |
---|---|
1 """ | 1 """ |
2 This file contains the core Models used in gpp | 2 This file contains the core Models used in gpp |
3 """ | 3 """ |
4 import datetime | |
5 | |
6 from django.db import models | 4 from django.db import models |
7 from django.contrib.auth.models import User | |
8 | 5 |
9 | 6 |
10 class Statistic(models.Model): | 7 class Statistic(models.Model): |
11 """ | 8 """ |
12 This model keeps track of site statistics. Currently, the only statistic | 9 This model keeps track of site statistics. Currently, the only statistic |