Commits

Mark Lavin committed 5ad2186

More doc tweaks.

Comments (0)

Files changed (2)

 Basic Example
 --------------------------------------
 
-In our sample project we have a `Farm` model with a foreign key to `auth.User` and 
-a many to many relation to our `Fruit` model.
+In our sample project we have a ``Farm`` model with a foreign key to ``auth.User`` and 
+a many to many relation to our ``Fruit`` model.
 
     .. literalinclude:: ../example/core/models.py
        :pyobject: Farm
 
 You'll note this form also for new users to be created and associated with the
 farm if no user is found matching the given name. To make use of this feature we
-need to add `owner` to the exclude so that it will pass model validation. Unfortunately
+need to add ``owner`` to the exclude so that it will pass model validation. Unfortunately
 that means we must set the owner manual in the save and in the initial data because
-the `ModelForm` will no longer do this for you. Since `fruit` does not allow new
+the ``ModelForm`` will no longer do this for you. Since ``fruit`` does not allow new
 items you'll see these steps are not necessary.
 
 
 Inline Example
 --------------------------------------
 
-With our `Farm` model we can also associate the `UserAdmin` with a `Farm`
+With our ``Farm`` model we can also associate the ``UserAdmin`` with a ``Farm``
 by making use of the `InlineModelAdmin 
 <http://docs.djangoproject.com/en/1.3/ref/contrib/admin/#inlinemodeladmin-objects>`_.
-We can even make use of the same `FarmAdminForm`.
+We can even make use of the same ``FarmAdminForm``.
 
     .. literalinclude:: ../example/core/admin.py
         :pyobject: FarmInline

docs/quick-start.rst

     .. literalinclude:: ../example/core/lookups.py
         :pyobject: FruitLookup
 
-This lookups extends `selectable.base.ModelLookup` and defines two things: one is
+This lookups extends ``selectable.base.ModelLookup`` and defines two things: one is
 the model on which we will be searching and the other is the field which we are searching.
 This syntax should look familiar as it is the same as the `field lookup syntax <http://docs.djangoproject.com/en/1.3/ref/models/querysets/#field-lookups>`_
 for making queries in Django.
         :pyobject: FruitForm
         :end-before: newautocomplete
 
-This replaces the default widget for the `CharField` with the `AutoCompleteWidget`.
+This replaces the default widget for the ``CharField`` with the ``AutoCompleteWidget``.
 This will allow the user to fill this field with values taken from the names of
-existing `Fruit` models.
+existing ``Fruit`` models.
 
 And that's pretty much it. Keep on reading if you want to learn about the other
 types of fields and widgets that are available as well as defining more complicated