11 lines
222 B
Python
11 lines
222 B
Python
# -*- coding: utf-8 -*-
|
|
from django.contrib import admin
|
|
|
|
from .models import Settings
|
|
|
|
|
|
@admin.register(Settings)
|
|
class SettingsAdmin(admin.ModelAdmin):
|
|
list_display = ("name", "value")
|
|
list_editable = ("value",)
|