summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-06 18:42:35 +0200
committerDan McGee <dan@archlinux.org>2010-09-06 18:42:35 +0200
commitfa882b7c28f97d226925bdbd2370396c4bffbeb4 (patch)
tree12b2c378b2e007267704f1355fa0bace86b69ac6 /main
parent872af225a98b9c328988e1cdbdea2ca73b8d185c (diff)
downloadarchweb-fa882b7c28f97d226925bdbd2370396c4bffbeb4.tar.gz
archweb-fa882b7c28f97d226925bdbd2370396c4bffbeb4.tar.xz
Remove unnecessary comments
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/models.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/main/models.py b/main/models.py
index 558d50c..1633db7 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'),