Tomek Wójcik
c75ea4ea9d
* `bthlabs-jsonrpc-aiohttp` v1.0.0 * `bthlabs-jsonrpc-core` v1.0.0 * `bthlabs-jsonrpc-django` v1.0.0
14 lines
343 B
Python
14 lines
343 B
Python
# -*- coding: utf-8 -*-
|
|
# django-jsonrpc-django | (c) 2022-present Tomek Wójcik | MIT License
|
|
from django.contrib import admin
|
|
|
|
|
|
from bthlabs_jsonrpc_django_example.things import models
|
|
|
|
|
|
class ThingAdmin(admin.ModelAdmin):
|
|
list_display = ('pk', 'name', 'created_at', 'owner', 'is_active')
|
|
|
|
|
|
admin.site.register(models.Thing, ThingAdmin)
|