Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Expand serialization_specs recursively #44

Merged
merged 4 commits into from
Sep 15, 2020
Merged

Expand serialization_specs recursively #44

merged 4 commits into from
Sep 15, 2020

Conversation

pmg103
Copy link
Contributor

@pmg103 pmg103 commented Jan 13, 2020

Addresses #38

Also extract tests into different files

Also extract tests into different files
# Conflicts:
#	tests/tests.py
self.serialization_spec = self.get_serialization_spec()
self.serialization_spec = get_serialization_spec(self)
if self.serialization_spec is None:
raise Exception('SerializationSpecMixin requires serialization_spec or get_serialization_spec')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be nice to raise a more descript exception here, eg django.core.exceptions.ImproperlyConfigured?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants