Browse Source

Fixed typo in form wizard docs.

Tim Graham 12 năm trước cách đây
mục cha
commit
3631db88cb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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