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

Feature/exceptional situations add municipality #362

Merged
merged 8 commits into from
Jun 27, 2024

Conversation

juuso-j
Copy link

@juuso-j juuso-j commented Jun 25, 2024

Exceptional situation add municipality

Trello #603


Breakdown:

Model

  1. exceptional_situations/migrations/0003_situationannouncement_municipalities.py
  2. exceptional_situations/models.py
    • Add M2M field municipalities

API

  1. exceptional_situations/api/serializers.py
    Serializer municipalities
  2. exceptional_situations/api/views.py
    • Filter municipalities

Importer

  1. exceptional_situations/management/commands/import_traffic_situations.py
    • Import municipalities

Tests

  1. exceptional_situations/tests/conftest.py
    • Add municipalities
  2. exceptional_situations/tests/test_api.py
    • Test municipalities filter
  3. exceptional_situations/tests/test_import_traffic_situations.py
    • Test municipalities import

@juuso-j juuso-j added the enhancement New feature or request label Jun 25, 2024
@juuso-j juuso-j requested a review from ezkat June 25, 2024 06:41
@juuso-j juuso-j self-assigned this Jun 25, 2024
@juuso-j juuso-j merged commit 5de4a31 into develop Jun 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants