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

Fix process_field so that it works for m2m fields in Django 2.0 #107

Closed
wants to merge 1 commit into from

Commits on Feb 14, 2018

  1. Fix process_field so that it works for m2m fields in Django 2.0

    Support for direct assignment in manytomany fields was removed in Django
    2.0 (see:
    https://docs.djangoproject.com/en/2.0/releases/2.0/#features-removed-in-2-0).
    This commit adds an extra param to `process_field` to indicate that the field
    being processed is a m2m and assignment should be handled through `.set`
    instead.
    volrath committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    0472a49 View commit details
    Browse the repository at this point in the history