2015-05-24 13:10:47 +02:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2015-05-25 22:32:27 +02:00
|
|
|
from .models import PageView
|
|
|
|
|
2015-05-24 13:10:47 +02:00
|
|
|
# Register your models here.
|
2015-05-25 22:32:27 +02:00
|
|
|
|
|
|
|
|
|
|
|
class PageViewAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ['hostname', 'timestamp']
|
|
|
|
|
|
|
|
admin.site.register(PageView, PageViewAdmin)
|