1
0
bthlabs-jsonrpc/packages/bthlabs-jsonrpc-django/example/bthlabs_jsonrpc_django_example/things/admin.py
Tomek Wójcik c75ea4ea9d Initial public releases
* `bthlabs-jsonrpc-aiohttp` v1.0.0
* `bthlabs-jsonrpc-core` v1.0.0
* `bthlabs-jsonrpc-django` v1.0.0
2022-06-04 10:41:53 +02:00

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)