Permalink
Browse files

You can't order when using the pk alias, lame.

  • Loading branch information...
1 parent 4cb4572 commit 647f865682cceae3fce4a826724be0d5b312ea2f @alex committed Jan 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 vcstranslator_project/apps/translator/admin.py
@@ -4,9 +4,9 @@
admin.site.register(FailedTranslation,
- list_display=["pk", "source", "command", "target", "count"],
+ list_display=["id", "source", "command", "target", "count"],
ordering=["-count"],
)
admin.site.register(TranslationFeedback,
- list_display=["pk", "source", "command", "target", "comments"],
+ list_display=["id", "source", "command", "target", "comments"],
)

0 comments on commit 647f865

Please sign in to comment.