mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
f2b0717d10
this really bothers me for some reason - nothing technical
17 lines
331 B
Python
17 lines
331 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.contrib import admin
|
|
|
|
from import_export.admin import ImportExportModelAdmin
|
|
|
|
from .models import InvenTreeSetting
|
|
|
|
|
|
class SettingsAdmin(ImportExportModelAdmin):
|
|
|
|
list_display = ('key', 'value')
|
|
|
|
|
|
admin.site.register(InvenTreeSetting, SettingsAdmin)
|