Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Admin interface for VersionCount #31

merged 1 commit into from

3 participants


No description provided.


Works for me. r+

@davedash davedash merged commit ba0d713 into mozilla:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 24, 2011
  1. @nigelbabu
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 1 deletion.
  1. +10 −1 apps/feedback/
11 apps/feedback/
@@ -1,6 +1,6 @@
from django.contrib import admin
-from .models import Opinion, Term
+from .models import Opinion, Term, VersionCount
class OpinionAdmin(admin.ModelAdmin):
@@ -40,3 +40,12 @@ class TermAdmin(admin.ModelAdmin):
list_filter = ('hidden',)
search_fields = ['term'], TermAdmin)
+class VersionCountAdmin(admin.ModelAdmin):
+ list_display = ('product', 'version', 'num_opinions', 'active')
+ ordering = ('-version', 'product')
+ readonly_fields = ('product', 'version', 'num_opinions', 'version_int')
+ search_fields = ['version']
+, VersionCountAdmin)
Something went wrong with that request. Please try again.