Browse Source

Include page view in the admin interface

pull/2/merge
Rodolfo Carvalho 10 years ago
parent
commit
97b5332be4
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      openshift/admin.py

+ 8
- 0
openshift/admin.py View File

@ -1,3 +1,11 @@
from django.contrib import admin
from .models import PageView
# Register your models here.
class PageViewAdmin(admin.ModelAdmin):
list_display = ['hostname', 'timestamp']
admin.site.register(PageView, PageViewAdmin)

Loading…
Cancel
Save