瀏覽代碼

Fixed #16210 -- Added some missing __future__ imports to support with statements on 2.5. Thanks to Julien Phalip for the report and patch

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Russell Keith-Magee 14 年之前
父節點
當前提交
4189561820
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/modeltests/model_forms/tests.py

+ 2 - 0
tests/modeltests/model_forms/tests.py

@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
 import datetime
 import os
 from decimal import Decimal