Add save_on_top to admin sections

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40115
This commit is contained in:
Matias Aguirre 2008-07-25 17:36:34 +00:00
parent e421206573
commit 22e3d3a02e
2 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ class Article(models.Model):
list_display = ("title", "main", "position_link", "publish_link",
"updated")
list_filter = ("main", "created", "publish")
save_on_top = True
class Meta:
verbose_name = _("article")

View File

@ -44,6 +44,7 @@ class DownloadLink(models.Model):
class Admin:
list_display = ("text", "address", "public_link", "created")
list_filter = ("public", "created")
save_on_top = True
class Meta:
verbose_name = _("download link")