Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: divio/django-cms
...
head fork: divio/django-cms
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/extending_cms/extending_examples.rst
View
8 docs/extending_cms/extending_examples.rst
@@ -25,13 +25,13 @@ We assume your main ``urls.py`` looks something like this::
My First Plugin
***************
-A Plugin is a small bit of content you can place on your pages.
+A Plugin is a small bit of content that you can place on your pages.
The Model
=========
For our polling app we would like to have a small poll plugin which shows a
-poll and let's the user vote.
+poll and lets the user vote.
In your poll application's ``models.py`` add the following::
@@ -51,7 +51,7 @@ In your poll application's ``models.py`` add the following::
:class:`models.Model <django.db.models.Model>`.
Run ``manage.py syncdb`` to create the database tables for this model or see
-:doc:`../getting_started/using_south` to see how to do it using `South`_
+:doc:`../getting_started/using_south` to see how to do it using `South`_.
The Plugin Class
@@ -72,7 +72,7 @@ app folder should look like this::
The plugin class is responsible for providing the django CMS with the necessary
information to render your Plugin.
-For our poll plugin, write following plugin class::
+For our poll plugin, write the following plugin class::
from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool

No commit comments for this range

Something went wrong with that request. Please try again.