-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 2.0 #3813
Django 2.0 #3813
Conversation
…ump-to-django-1.11
…ump-to-django-1.11
@@ -72,6 +72,7 @@ class RalphUserViewSet(RalphAPIViewSet): | |||
class RegionSerializer(RalphAPISerializer): | |||
class Meta: | |||
model = Region | |||
fields = "__all__" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All serializers now need field "fields" or "exclude"
@@ -216,10 +216,10 @@ class ChangeListTest(TestCase): | |||
|
|||
def setUp(self): | |||
super().setUp() | |||
manufacturer = Manufacturer.objects.create( | |||
manufacturer = TestManufacturer.objects.create( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There used to be 2 Manufacturer models. The model used in tests has been renamed to TestManufacturer
Remove unnecessary imports
No description provided.