mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 17:48:41 +02:00
changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from apps.currencies.models import Currency
|
||||
from apps.currencies.models import Currency, ExchangeRate
|
||||
|
||||
|
||||
@admin.register(Currency)
|
||||
@@ -9,3 +9,6 @@ class CurrencyAdmin(admin.ModelAdmin):
|
||||
if db_field.name == "suffix" or db_field.name == "prefix":
|
||||
kwargs["strip"] = False
|
||||
return super().formfield_for_dbfield(db_field, request, **kwargs)
|
||||
|
||||
|
||||
admin.site.register(ExchangeRate)
|
||||
|
||||
Reference in New Issue
Block a user