Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: eefc88feefec0c3685bfb102714530b751b4ae90
      
https://github.com/django/django/commit/eefc88feefec0c3685bfb102714530b751b4ae90
  Author: Christopher Adams <christopher.r.ad...@gmail.com>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M AUTHORS
    M django/contrib/admin/options.py
    M django/contrib/admin/utils.py
    M django/contrib/admin/widgets.py
    M django/db/models/fields/__init__.py
    M django/db/models/fields/related.py
    M django/forms/fields.py
    M django/forms/models.py
    M docs/ref/models/fields.txt
    M docs/releases/1.7.txt
    M tests/admin_views/admin.py
    M tests/admin_views/models.py
    M tests/admin_views/tests.py
    M tests/model_forms/models.py
    M tests/model_forms/tests.py

  Log Message:
  -----------
  Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.

ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now
be a callable that returns either a ``Q`` object or a dict.

Thanks michael at actrix.gen.nz for the original suggestion.


-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/52fa748d962a3_794b118dd40130753%40hookshot-fe7-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to