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

Bilingual RewardPointRedemptionEvent names #2380

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jooooosef
Copy link
Collaborator

fix #2175

Copy link
Collaborator

@Kakadus Kakadus left a comment

Choose a reason for hiding this comment

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

Please remove the unnecessary comment

evap/rewards/models.py Outdated Show resolved Hide resolved
@jooooosef
Copy link
Collaborator Author

jooooosef commented Jan 28, 2025

@Kakadus I think I also need to apply the new field and reanem to the test_data right? Because otherwise doing python manage.py loaddata test_data will not work, since this relies on the old filed name and does not use name_de and name_en right?

At least thats why I think the test here fails...

@niklasmohrin
Copy link
Member

niklasmohrin commented Jan 28, 2025

Correct! You can use manage.py dump_testdata for that :)

@jooooosef jooooosef force-pushed the iss2175 branch 2 times, most recently from 92f0940 to 4b0a774 Compare February 3, 2025 19:03
evap/development/fixtures/test_data.json Show resolved Hide resolved
evap/development/fixtures/test_data.json Show resolved Hide resolved
evap/rewards/tests/test_views.py Outdated Show resolved Hide resolved
evap/rewards/tests/test_views.py Outdated Show resolved Hide resolved
evap/rewards/tests/test_views.py Outdated Show resolved Hide resolved
wanted to add name_de and name_en so there needs to be the approiate migration
the test_data.json needs to reflect the name_de and name_en changes
Copy link
Member

@janno42 janno42 left a comment

Choose a reason for hiding this comment

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

💬

@jooooosef jooooosef requested a review from Kakadus February 10, 2025 17:21
Copy link
Member

@richardebeling richardebeling left a comment

Choose a reason for hiding this comment

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

Thanks! :)

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

Successfully merging this pull request may close these issues.

Bilingual RewardPointRedemptionEvent names
5 participants