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

question(sample_project): incomplete history for M2M fields after loaddata #1362

Open
gythaogg opened this issue Nov 12, 2024 · 2 comments
Open
Assignees
Labels
app-history question For any kind of question, whether about usage, contributing or the project in general

Comments

@gythaogg
Copy link
Contributor

Why is it that in the history records for Persons I don't see the many to many field - Profession, even though this field has data?

When I go to the edit view of the object and click on Submit without actually changing anything a new history record is created as if I added the Profession just then.

@b1rger
Copy link
Contributor

b1rger commented Nov 12, 2024

Maybe because the Profession model does not inherit from VersionMixin, but maybe @sennierer can explain this in more detail

@gythaogg
Copy link
Contributor Author

Yeah but then it is weird that it gets added to History record from the create/edit views (and missing only when added via loaddata from the fixture). @sennierer your thoughts?

@b1rger b1rger assigned sennierer and unassigned b1rger Nov 14, 2024
@gythaogg gythaogg added question For any kind of question, whether about usage, contributing or the project in general app-history labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-history question For any kind of question, whether about usage, contributing or the project in general
Projects
None yet
Development

No branches or pull requests

3 participants