Issue #226 new

Ducumentation unclear

Geraldo Ramos
created an issue

I noticed something in the documentation that is unclear especially to django new comers like myself.

If you follow the wiki(copy/paste) like I did getting posts by ID does not work.

The problem is that under 'Mapping URLs' the url pattern doesn't point to anything.

url(r'^blogpost/(?P<post_slug>[^/]+)/', blogpost_handler),

The read code actually points to 'blogpost_id' instead. Therefore the example url patter should read.

url(r'^blogpost/(?P<blogpost_id>[^/]+)/', blogpost_handler),

Or the other way around. The 2 a mixed up throughout the wiki. This makes it a difficult if you are just trying to do a quick audition of the app before making a committment.

Comments (1)

  1. Log in to comment