new applets app for cross-board usage of Applet() & UserApplet() models; dashboard migrations reset and apps reseeded w. new default specs; core.settings & many tests thru-out suite updated accordingly
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
11
src/apps/applets/admin.py
Normal file
11
src/apps/applets/admin.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from apps.applets.models import Applet, UserApplet
|
||||
|
||||
|
||||
@admin.register(Applet)
|
||||
class AppletAdmin(admin.ModelAdmin):
|
||||
list_display = ['slug', 'name', 'default_visible', 'grid_cols', 'grid_rows']
|
||||
list_editable = ['grid_cols', 'grid_rows']
|
||||
|
||||
admin.site.register(UserApplet)
|
||||
Reference in New Issue
Block a user