from django.contrib import admin

# Register your models here.

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)

Include page view in the admin interface