ismail-s / fireblog

A basic blog (in Python)
https://ismail-s.github.io/fireblog
GNU General Public License v2.0
0 stars 0 forks source link

Feature/improve urls #20

Closed ismail-s closed 9 years ago

ismail-s commented 9 years ago

Urls for posts are now /posts/id_of_post/postname instead of what they used to be, /posts/postname. This means that we can lookup a post purely by its id, and the postname in the url can be changed with no consequence.

The url for adding a post was changed to /add_post/postname.

Tests/templates/code was updated to conform to this.

I also slightly modified pytest.ini to make the tests run faster.

See also #7.