Django Not-So-Basic Blog

18 views
Skip to first unread message

Stephen

unread,
Jan 2, 2009, 4:00:48 PM1/2/09
to Django Basic Apps
Hey there,

I've been using the basic blog for some time and have made some of my
own additions. I run several blogs and have gotten lots of good
feedback on this app. I'm wondering if there is any interest in
rolling any of these to trunk?

1. Support for Sections

The first thing many of my users wanted was the ability to place posts
in their '/blog' or '/work' or '/projects', etc. I updated the model/
urls to allow for this (optionally). Custom templates can be put in
'templates/*section_name*/ (also, optionally. Defaults to 'templates/
blog').

2. Support for Photologue in the text of posts (http://code.google.com/
p/django-photologue/)

I provide a syntax in the body of posts for displaying photologue
images inline. [[image:my_photologue_image]] spits out the
appropriate image code. This is really a huge favorite among all of my
blog users. Its outlined here: http://www.djangosnippets.org/snippets/1088/

3. AddThis Templatetag

AddThis (http://www.addthis.com/) is something of a standard for
getting blog posts into the socio-sphere. Just set ADDTHIS_USERNAME
in your settings and viola {% add_this post.title
post.get_absolute_url %} gives you the button.

John Szakmeister

unread,
Jan 3, 2009, 6:24:49 AM1/3/09
to django-b...@googlegroups.com
On Fri, Jan 2, 2009 at 4:00 PM, Stephen <sub...@gmail.com> wrote:
>
> Hey there,
>
> I've been using the basic blog for some time and have made some of my
> own additions. I run several blogs and have gotten lots of good
> feedback on this app. I'm wondering if there is any interest in
> rolling any of these to trunk?
>
> 1. Support for Sections
>
> The first thing many of my users wanted was the ability to place posts
> in their '/blog' or '/work' or '/projects', etc. I updated the model/
> urls to allow for this (optionally). Custom templates can be put in
> 'templates/*section_name*/ (also, optionally. Defaults to 'templates/
> blog').

I can't speak for the owner of the project, but I'd definitely like
the idea of having sections to the blog. Can you point to the code
somewhere?

> 2. Support for Photologue in the text of posts (http://code.google.com/
> p/django-photologue/)
>
> I provide a syntax in the body of posts for displaying photologue
> images inline. [[image:my_photologue_image]] spits out the
> appropriate image code. This is really a huge favorite among all of my
> blog users. Its outlined here: http://www.djangosnippets.org/snippets/1088/

I'd like to see this as well.

-John

Stephen

unread,
Jan 3, 2009, 5:51:44 PM1/3/09
to Django Basic Apps
You can review the code from my svn repo: https://yeago.net/svn/guest/not-so-basic-blog/

If you compare it to the trunk of this project you will see the only
changes are some template gymnastics in the views, support for a (?
P<section>) in urls (optionally) and the model changes.

Feel welcome to commit any fixes you see.

Also, to all, please keep in mind I am not attempting to fork this
project.

On Jan 3, 6:24 am, "John Szakmeister" <j...@szakmeister.net> wrote:

hiwd

unread,
Jan 4, 2009, 8:12:49 AM1/4/09
to Django Basic Apps

Not speaking for the author of the project, Nathan, but I believe the
goal for basic-apps is to keep things simple, and ... basic.

Essentially, basic-blog or any reusable app for that matter, should do
one thing and one thing well ... and it does ... provide it's
consumers a base app to blog from. If you want more... that's when you
being to fork it.

I think your ideas a generally good, but they also lead themselves to
more specific app to meet your needs. Usually that screams "fork".

I'm pretty sure basic-blog hasn't changed much an won't be changing
much in the future.

If so, I'd just ask Nathan if you can fork the project and post your
forked project on google project or github and work on it from there.

Just a suggestion. There's also many django powered blog apps out
there that come with all the bells and whistles you could ever want.
Just search on google projects or github to find a nice collection.

Good luck!

sketch22

unread,
Jan 4, 2009, 8:59:59 AM1/4/09
to Django Basic Apps
Thanks Kevin (hiwd), you're exactly right. While basic apps can be
used well just as they are it should also be noted that if you need
added functionality you can most certainly add it. My goal, as you
said, is to do one thing and do it well with the hopes that new people
coming to Django can learn and understand how the app works, then
tailor it to meet their needs.

Adam Nelson

unread,
Jan 4, 2009, 10:21:52 AM1/4/09
to django-b...@googlegroups.com
Stephen,

It may be difficult for you to transition at this point but Pinax also has a blog app with some of those features in a reusable form:

http://svn.pinaxproject.com/pinax/trunk/apps/local_apps/blog/
http://pinaxproject.com/

Regards,
Adam

Stephen

unread,
Jan 6, 2009, 1:51:08 PM1/6/09
to Django Basic Apps
Cool. Well I've gotten about 5 private emails on this issue so the
demand is obviously there. I agree that its good to give newcomers a
simple starter platform and your application definitely serves that.
If its alright with you I will continue to make public my own app as a
fork.

-S

Stephen

unread,
Jan 6, 2009, 1:52:36 PM1/6/09
to Django Basic Apps
A quick look at the models.py showed it doesn't support anything I
suggested...

..thanks though ... ?

On Jan 4, 10:21 am, "Adam Nelson" <a...@varud.com> wrote:
> Stephen,
>
> It may be difficult for you to transition at this point but Pinax also has a
> blog app with some of those features in a reusable form:
>
> http://svn.pinaxproject.com/pinax/trunk/apps/local_apps/blog/http://pinaxproject.com/
>
> Regards,
> Adam
>
> On Fri, Jan 2, 2009 at 4:00 PM, Stephen <subs...@gmail.com> wrote:
>
> > Hey there,
>
> > I've been using the basic blog for some time and have made some of my
> > own additions. I run several blogs and have gotten lots of good
> > feedback on this app. I'm wondering if there is any interest in
> > rolling any of these to trunk?
>
> > 1. Support for Sections
>
> > The first thing many of my users wanted was the ability to place posts
> > in their '/blog' or '/work' or '/projects', etc. I updated the model/
> > urls to allow for this (optionally).  Custom templates can be put in
> > 'templates/*section_name*/ (also, optionally. Defaults to 'templates/
> > blog').
>
> > 2. Support for Photologue in the text of posts (http://code.google.com/
> > p/django-photologue/ <http://code.google.com/p/django-photologue/>)
Reply all
Reply to author
Forward
0 new messages