summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-27 00:11:11 +0200
committerDan McGee <dan@archlinux.org>2012-10-27 00:11:11 +0200
commitbdee24b9d1279de67dd238e3644c2efff314bd7b (patch)
treedf6fd4b2fbc8787f984611708d8372efc13284b4 /main
parent2ee662c77cf559d6ea82c9096533abfcd38f4801 (diff)
downloadarchweb-bdee24b9d1279de67dd238e3644c2efff314bd7b.tar.gz
archweb-bdee24b9d1279de67dd238e3644c2efff314bd7b.tar.xz
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 0054926..5700cdf 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):