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

No changes for m2m field when edit through admin #9

Open
sneawo opened this issue Jan 26, 2015 · 0 comments
Open

No changes for m2m field when edit through admin #9

sneawo opened this issue Jan 26, 2015 · 0 comments

Comments

@sneawo
Copy link

sneawo commented Jan 26, 2015

When i edit an object with m2m field through admin there is no m2m_changed signal and m2m changes are not synced.

Maybe it's better to add M2M_CHANGE action for each ADDITION and CHANGE?

            if del_time is None or last_time > del_time:
                ACTIONS[log.action](log.content_type, log.object_id, log)
                if log.action in [ADDITION, CHANGE]:
                    ACTIONS[M2M_CHANGE](log.content_type, log.object_id, log)
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

No branches or pull requests

1 participant