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

Refactor custom API endpoints #193

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Refactor custom API endpoints #193

merged 3 commits into from
Sep 10, 2024

Conversation

koeaw
Copy link
Collaborator

@koeaw koeaw commented Sep 10, 2024

Refactor custom API views and serializers for clarity/readability.

Reformat lists, dicts, attributes, add
whitespace for readability/consistency.
Reorder code, rename variables, classes for clarity
(e.g. pluralise where multiples are expected), update
class references for consistency (imports, inheritance),
remove leftover function for retrieving Choices labels.
Update example for language property key
to a valid term (following wider changes to
TextChoices values).
@koeaw koeaw merged commit 6870b84 into deploy Sep 10, 2024
3 checks passed
@koeaw koeaw deleted the kk/feat/api branch September 10, 2024 11:44
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.

1 participant