diff options
author | Andrew Godwin | 2022-11-16 17:23:46 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 17:23:46 -0700 |
commit | 44af0d4c59eed1c3715e9044e75c159cfddf54cc (patch) | |
tree | d2c87f953de12a526a158f2c03def5eb08b2d203 /core/admin.py | |
parent | 495e955378d62dc439c4c210785e5d401bc77f64 (diff) | |
download | takahe-44af0d4c59eed1c3715e9044e75c159cfddf54cc.tar.gz takahe-44af0d4c59eed1c3715e9044e75c159cfddf54cc.tar.bz2 takahe-44af0d4c59eed1c3715e9044e75c159cfddf54cc.zip |
Add start of a settings (config) system
Diffstat (limited to 'core/admin.py')
-rw-r--r-- | core/admin.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/admin.py b/core/admin.py new file mode 100644 index 0000000..e4a6ad0 --- /dev/null +++ b/core/admin.py @@ -0,0 +1,8 @@ +from django.contrib import admin + +from core.models import Config + + +@admin.register(Config) +class ConfigAdmin(admin.ModelAdmin): + list_display = ["id", "key", "user", "identity"] |