Skip to content

Commit

Permalink
Update Quickstart section of the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vleong2332 committed Jul 24, 2016
1 parent 6c26add commit ddc9fda
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,27 @@ Install the development version:

pip install pinax-blog

Add `pinax-blog` to your `INSTALLED_APPS` setting:
Add `pinax-blog` to your `INSTALLED_APPS` setting. Also add the `sites` framework
if you don't already use it:

INSTALLED_APPS = (
# ...
"django.contrib.sites"
"pinax.blog",
# ...
)

SITE_ID = 1

Run the migration `python manage.py migrate`

Add entry to your `urls.py`:

url(r"^blog/", include("pinax.blog.urls", namespace="pinax_blog"))
urlpatterns = [
# ...
url(r"^blog/", include("pinax.blog.urls", namespace="pinax_blog")),
# ...
]


## Dependencies
Expand Down

0 comments on commit ddc9fda

Please sign in to comment.