1. Simon Meers
  2. django-markitup

Commits

Carl Meyer  committed 260f66b

doc fixes (thanks Rob Hudson)

  • Participants
  • Parent commits 4804690
  • Branches default

Comments (0)

Files changed (1)

File README.txt

View file
  • Ignore whitespace
     3. Set `the MARKITUP_FILTER setting`_.
 
     4. If you want to use AJAX-based preview, add 
-          ``url(r'^markitup/', include('markitup.urls')`` in your root URLconf.
+          ``url(r'^markitup/', include('markitup.urls'))`` in your root URLconf.
 
 Dependencies
 ------------
 To assign it to a form field::
 
     from markitup.widgets import MarkItUpWidget
-    ...
-    content = forms.TextField(widget=MarkItUpWidget())
+    
+    class MyForm(forms.Form):
+        content = forms.CharField(widget=MarkItUpWidget())
 
 When this form is displayed on your site, you must include the form
 media somewhere on the page using ``{{ form.media }}``, or the