Differences between revisions 3 and 4
Revision 3 as of 2008-09-05 08:55:26
Size: 928
Editor: 220
Comment:
Revision 4 as of 2008-09-05 19:15:03
Size: 999
Editor: 203
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * [wiki:Blog/330 Django 1.0 릴리즈, 새버전으로 갈아타기]

[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