Mercurial > public > sg101
diff gpp/weblinks/admin.py @ 165:952e05cb3d80
Implement #49; use POST for updating link hit counts. Also refactored a bit and use javascript to report broken links.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 Jan 2010 04:15:14 +0000 |
parents | dbd703f7d63a |
children | fa7d82bfb100 |
line wrap: on
line diff
--- a/gpp/weblinks/admin.py Mon Dec 28 16:52:42 2009 +0000 +++ b/gpp/weblinks/admin.py Sun Jan 03 04:15:14 2010 +0000 @@ -15,7 +15,7 @@ save_on_top = True class FlaggedLinkAdmin(admin.ModelAdmin): - list_display = ('__unicode__', 'url', 'date_flagged') + list_display = ('__unicode__', 'url', 'get_link_url', 'user', 'date_flagged') date_hierarchy = 'date_flagged' raw_id_fields = ('user', )