summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-06 11:42:35 -0500
committerDan McGee <dan@archlinux.org>2010-09-06 11:42:35 -0500
commitfa882b7c28f97d226925bdbd2370396c4bffbeb4 (patch)
tree12b2c378b2e007267704f1355fa0bace86b69ac6 /main/models.py
parent872af225a98b9c328988e1cdbdea2ca73b8d185c (diff)
Remove unnecessary comments
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/main/models.py b/main/models.py
index 558d50c6..1633db75 100644
--- a/main/models.py
+++ b/main/models.py
@@ -5,9 +5,6 @@ from django.contrib.sites.models import Site
from main.utils import cache_function
from packages.models import PackageRelation
-###########################
-### User Profile Class ####
-###########################
class UserProfile(models.Model):
id = models.AutoField(primary_key=True) # not technically needed
notify = models.BooleanField(
@@ -39,9 +36,6 @@ class UserProfile(models.Model):
verbose_name_plural = 'Additional Profile Data'
-#######################
-### Manager Classes ###
-#######################
class TodolistManager(models.Manager):
def incomplete(self):
return self.filter(todolistpkg__complete=False).distinct()
@@ -50,9 +44,7 @@ class PackageManager(models.Manager):
def flagged(self):
return self.get_query_set().filter(flag_date__isnull=False)
-#############################
-### General Model Classes ###
-#############################
+
TIER_CHOICES = (
(0, 'Tier 0'),
(1, 'Tier 1'),