Skip to content

Commit

Permalink
Fix custom fields tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matyldv committed Nov 7, 2024
1 parent 8113670 commit b5efa9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ralph/lib/custom_fields/tests/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.contrib import admin

from ..admin import CustomFieldValueAdminMixin
from ..admin import CustomFieldAdmin, CustomFieldValueAdminMixin
from ..models import CustomField
from .models import ModelA, ModelB, SomeModel

site = admin.AdminSite(name="cf_admin")
Expand All @@ -24,3 +25,4 @@ class ModelBAdmin(CustomFieldValueAdminMixin, admin.ModelAdmin):
site.register(SomeModel, SomeModelAdmin)
site.register(ModelA, ModelAAdmin)
site.register(ModelB, ModelBAdmin)
site.register(CustomField, CustomFieldAdmin)

0 comments on commit b5efa9f

Please sign in to comment.