summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-26 17:11:11 -0500
committerDan McGee <dan@archlinux.org>2012-10-26 17:11:11 -0500
commitbdee24b9d1279de67dd238e3644c2efff314bd7b (patch)
treedf6fd4b2fbc8787f984611708d8372efc13284b4 /main
parent2ee662c77cf559d6ea82c9096533abfcd38f4801 (diff)
Cleanup meta model attributes
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/models.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/models.py b/main/models.py
index 00549268..5700cdf1 100644
--- a/main/models.py
+++ b/main/models.py
@@ -62,7 +62,7 @@ class Arch(models.Model):
class Meta:
db_table = 'arches'
- ordering = ['name']
+ ordering = ('name',)
verbose_name_plural = 'arches'
@@ -87,8 +87,7 @@ class Repo(models.Model):
class Meta:
db_table = 'repos'
- ordering = ['name']
- verbose_name_plural = 'repos'
+ ordering = ('name',)
class Package(models.Model):