Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
[core/scoring] pretty up admin interface, in order to restore gold pa…
Browse files Browse the repository at this point in the history
…id for steal.
  • Loading branch information
alexef committed Nov 13, 2011
1 parent ded0951 commit 4d4820b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wouso/core/scoring/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
class FormulaAdmin(admin.ModelAdmin):
list_display = ('id', 'formula', 'owner', 'description')

class HistoryAdmin(admin.ModelAdmin):
list_display = ('timestamp', 'user', 'formula', 'external_id', 'amount', 'coin')
list_filter = ('formula', 'external_id', 'coin')
admin.site.register(Coin)
admin.site.register(Formula, FormulaAdmin)
admin.site.register(History)
admin.site.register(History, HistoryAdmin)

0 comments on commit 4d4820b

Please sign in to comment.