[django/django] 50633e: Fixed #12568 -- no error when accessing custom fie...

2 views
Skip to first unread message

GitHub

unread,
Sep 18, 2013, 3:04:27 AM9/18/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 50633e7353694ff54f14b04469be3792f286182f
https://github.com/django/django/commit/50633e7353694ff54f14b04469be3792f286182f
Author: Anssi Kääriäinen <akaa...@gmail.com>
Date: 2013-09-18 (Wed, 18 Sep 2013)

Changed paths:
M django/db/models/fields/subclassing.py
M tests/field_subclassing/tests.py

Log Message:
-----------
Fixed #12568 -- no error when accessing custom field's descriptor

The SubfieldBase's descriptor caused an AttributeError when accessed
from the class. Introspection didn't like that.

Patch by Trac alias supervacuo.



Reply all
Reply to author
Forward
0 new messages