Skip to content

Commit

Permalink
Fix base class reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ababic committed Jun 19, 2019
1 parent d4dc9b1 commit 99e426d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wagtailmenus/api/v1/tests/test_base_views.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from django.test import override_settings, TestCase

from wagtailmenus.api.v1.views import MenuGeneratorView
from wagtailmenus.api.v1.views import BaseMenuGeneratorView
from wagtailmenus.api.v1.serializers import FlatMenuSerializer, MainMenuSerializer


class TestGetSerializerClass(TestCase):

class CustomView(MenuGeneratorView):
class CustomView(BaseMenuGeneratorView):
default_serializer_class = MainMenuSerializer
serializer_class_setting_name = 'MAIN_MENU_SERIALIZER'

Expand Down

0 comments on commit 99e426d

Please sign in to comment.