Skip to content
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

Merged
merged 130 commits into from
Oct 11, 2024
Merged

Django 2.0 #3813

merged 130 commits into from
Oct 11, 2024

Conversation

hipek8
Copy link
Contributor

@hipek8 hipek8 commented Jul 1, 2024

No description provided.

@@ -72,6 +72,7 @@ class RalphUserViewSet(RalphAPIViewSet):
class RegionSerializer(RalphAPISerializer):
class Meta:
model = Region
fields = "__all__"
Copy link
Contributor Author

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(
Copy link
Contributor Author

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

@hipek8 hipek8 marked this pull request as ready for review September 30, 2024 09:52
@hipek8 hipek8 merged commit 541ab23 into ng Oct 11, 2024
15 checks passed
@hipek8 hipek8 deleted the django-2.0 branch October 11, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants