Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 484fcd34a4819ff11ef72f3c9e1eb467a282b2f6
      
https://github.com/django/django/commit/484fcd34a4819ff11ef72f3c9e1eb467a282b2f6
  Author: Anssi Kääriäinen <akaar...@gmail.com>
  Date:   2012-06-08 (Fri, 08 Jun 2012)

  Changed paths:
    M django/views/generic/detail.py
    M tests/regressiontests/generic_views/detail.py
    M tests/regressiontests/generic_views/urls.py
    M tests/regressiontests/generic_views/views.py

  Log Message:
  -----------
  Fixed #16418 -- Made generic views work with ModelForms

Generic views assumed any object's _meta will be model Options. This
is not true for ModelForms for example. Took isinstance(obj, Model)
in use instead.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to