Skip to content

29 feat create definitions endpoints#30

Merged
martingaldeca merged 6 commits intomainfrom
29-feat-create-definitions-endpoints
Feb 3, 2026
Merged

29 feat create definitions endpoints#30
martingaldeca merged 6 commits intomainfrom
29-feat-create-definitions-endpoints

Conversation

@martingaldeca
Copy link
Member

Type of Change

  • 🚀 New feature (non-breaking change which adds functionality)
  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 🧹 Chore (technical task, refactoring, maintenance)

Description

Add definition endpoints and update data for definitions

Related Issue

Closes #29

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • Unit Tests
  • Manual Testing

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Screenshots (if applicable)

…`PublicUserSerializer` to a dedicated `base_user_serializers.py` module in `core` to avoid circular dependencies.

* Relocate affinity logic and serializers (e.g., `IdeologyAffinitySerializer`, `ComplexityAffinitySerializer`) from `core` to the `ideology` app to improve domain cohesion.
* Implement `SimpleAxisSerializer`, `SimpleSectionSerializer`, `SimpleComplexitySerializer`, and `TargetIdeologySerializer` for lightweight API responses.
* Update `MeSerializer` to include the `is_superuser` field in the response.
* Register `IdeologyAxisDefinition` and `IdeologyConditionerDefinition` models in the Django Admin with filtering and autocomplete capabilities.
* Add `import_flags` management command to normalize filenames and map local flag images to Ideology UUIDs.
* Include binary flag image assets in `ideology/fixtures/flags`.
@martingaldeca martingaldeca self-assigned this Feb 3, 2026
@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@martingaldeca martingaldeca merged commit be416ae into main Feb 3, 2026
3 checks passed
@martingaldeca martingaldeca deleted the 29-feat-create-definitions-endpoints branch February 3, 2026 22:09
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.

[FEAT] Create definitions endpoints

1 participant