Differences between revisions 1 and 2
Revision 1 as of 2008-09-04 17:00:15
Size: 786
Editor: 203
Comment:
Revision 2 as of 2008-09-04 17:03:18
Size: 798
Editor: 203
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[Django] 1.0 릴리즈 이후 바뀐 점들 [Django] 1.0 릴리즈(2008-09-04) 이후 바뀐 점들

[Django] 1.0 릴리즈(2008-09-04) 이후 바뀐 점들

참고정보

참고이슈들

form_for_model 이 없어짐

form_for_model 은 ModelForm을 서브클래싱하여 쓰라고 되어있으나 몇가지 문제가 있다.

  1. 다른 폼과 mixin 하여 쓸 수 없다. : metaclass conflict 메세지와 함께 안된다고 나온다. http://www.djangosnippets.org/snippets/703 을 써서 동작하게 할 수 있다.

  2. mixin 대상이 둘 다 ModelForm 일 경우 또 동작하지 않는다. http://code.djangoproject.com/ticket/7018 로 보고가 되어있다. 임시방편은 티켓페이지 참고

Django1.0 (last edited 2013-06-28 09:46:23 by 61)

web biohackers.net