summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-05 16:38:59 -0700
committereliott <eliott@cactuswax.net>2008-04-05 16:38:59 -0700
commitea38bc5075f90c331473ff338e36a5a97e83060c (patch)
treeda3380ca3d84840ec8e653507a31cffede950bb7 /main
parent99749b4c87fabb18aed9d5af4d6d5175d074c5cc (diff)
renamed todolist table
Diffstat (limited to 'main')
-rw-r--r--main/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py
index 525a4ceb..2e1a2ac2 100644
--- a/main/models.py
+++ b/main/models.py
@@ -173,7 +173,7 @@ class Package(models.Model):
## they don't change very often (rarely), and it should help compact
## the general model
# architectures
- ARCHES = Container(i686=1, x86_64=2)
+ ARCHES = Container(any_arch=1, i686=2, x86_64=3)
# repositories
REPOS = Container(core=1, extra=2, testing=3, unstable=4)
@@ -256,7 +256,7 @@ class TodolistPkg(models.Model):
pkg = models.ForeignKey('Package')
complete = models.BooleanField(default=False)
class Meta:
- db_table = 'todolists_pkgs'
+ db_table = 'todolist_pkgs'
unique_together = (('list','pkg'),)
class Wikipage(models.Model):