mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
- A lot of views / pages / etc needed to be updated too - Now uses django-money fields entirely - Create a manual rate exchange backend (needs more work!)
17 lines
335 B
Python
17 lines
335 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)
|