浏览代码

Fixed typo in form wizard docs.

Tim Graham 12 年之前
父节点
当前提交
3631db88cb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/contrib/formtools/form-wizard.txt

+ 1 - 1
docs/ref/contrib/formtools/form-wizard.txt

@@ -528,7 +528,7 @@ We define our wizard in a ``views.py``::
 
 We need to add the ``ContactWizard`` to our ``urls.py`` file::
 
-    from django.conf.urls import pattern
+    from django.conf.urls import patterns
 
     from myapp.forms import ContactForm1, ContactForm2
     from myapp.views import ContactWizard, show_message_form_condition