Commits

Curtis Maloney committed 40d4951

Comments (0)

Files changed (1)

+== Overview ==
+
+What is a blog, but a list of posts?  That's what you get with Gnocchi Blog.
+
+== Requirements ==
+
+* Django 1.3+
+* django-taggit 0.8+
+
+== Setup ==
+
+Just add to INSTALLED_APPS:
+
+{{{
+    'gnocchi.blog',
+    'taggit',
+}}}
+
+== URLs ==
+
+Not every blog is the same, so not everyone wants the same URL patterns.  So, the URL patterns can be configured.  This is mostly for the Post.get_absolute_url method.
+
+There are two settings to control which values are passed to revese():
+
+BLOG_DATEBASED_URLS::
+    Pass year, month and day:
+    'year': '%04d' % self.post_date.year,
+    'month': self.post_date.strftime('%b').lower(),
+    'day': '%02d' % self.post_date.day,
+BLOG_USERNAME_URLS::
+    Passes the username of the poster.
+
+These are passed, along with the posts slug, to reverse('blog-detail')
+
+== Comments ==
+
+== Template Tags ==