Skip to content

Commit 0e14e4d

Browse files
authored
Merge pull request #89 from vleong2332/vl-88-docs
Update Quickstart section of the docs
2 parents 6c26add + ddc9fda commit 0e14e4d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/index.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,27 @@ Install the development version:
1616

1717
pip install pinax-blog
1818

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

2122
INSTALLED_APPS = (
2223
# ...
24+
"django.contrib.sites"
2325
"pinax.blog",
2426
# ...
2527
)
2628

29+
SITE_ID = 1
30+
31+
Run the migration `python manage.py migrate`
32+
2733
Add entry to your `urls.py`:
2834

29-
url(r"^blog/", include("pinax.blog.urls", namespace="pinax_blog"))
35+
urlpatterns = [
36+
# ...
37+
url(r"^blog/", include("pinax.blog.urls", namespace="pinax_blog")),
38+
# ...
39+
]
3040

3141

3242
## Dependencies

0 commit comments

Comments
 (0)