Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #4713 from willkg/1506907-admin-fix
bug 1506907: fix admin regarding Product model
  • Loading branch information
willkg committed Nov 15, 2018
2 parents 78e1197 + e722642 commit eed1000
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
10 changes: 10 additions & 0 deletions webapp-django/crashstats/crashstats/admin.py
Expand Up @@ -6,6 +6,7 @@
BugAssociation,
GraphicsDevice,
Platform,
Product,
Signature,
)

Expand Down Expand Up @@ -105,6 +106,15 @@ class PlatformAdmin(admin.ModelAdmin):
]


@admin.register(Product)
class ProductAdmin(admin.ModelAdmin):
list_display = [
'product_name',
'sort',
'is_active'
]


@admin.register(Signature)
class SignatureAdmin(admin.ModelAdmin):
list_display = [
Expand Down
Expand Up @@ -48,13 +48,6 @@
<td></td>
<td></td>
</tr>
<tr>
<th scope="row">
<a href="{% url 'siteadmin:products' %}">Products</a>
</th>
<td></td>
<td></td>
</tr>
<tr>
<th scope="row">
<a href="{% url 'siteadmin:buildhub_check' %}">Buildhub check</a>
Expand Down

0 comments on commit eed1000

Please sign in to comment.