diff options
author | eliott <eliott@cactuswax.net> | 2008-04-06 01:38:59 +0200 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-04-06 01:38:59 +0200 |
commit | ea38bc5075f90c331473ff338e36a5a97e83060c (patch) | |
tree | da3380ca3d84840ec8e653507a31cffede950bb7 /main/models.py | |
parent | 99749b4c87fabb18aed9d5af4d6d5175d074c5cc (diff) | |
download | archweb-ea38bc5075f90c331473ff338e36a5a97e83060c.tar.gz archweb-ea38bc5075f90c331473ff338e36a5a97e83060c.tar.xz |
renamed todolist table
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py index 525a4ce..2e1a2ac 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): |