InvenTree/InvenTree/common/admin.py
Matthias f2b0717d10 removes all lines consisting only of spaces
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00

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)