Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/improve urls #20

Merged
merged 26 commits into from
Oct 13, 2015
Merged

Feature/improve urls #20

merged 26 commits into from
Oct 13, 2015

Conversation

ismail-s
Copy link
Owner

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.

ismail-s added a commit that referenced this pull request Oct 13, 2015
@ismail-s ismail-s merged commit 5e0c4f0 into develop Oct 13, 2015
@ismail-s ismail-s deleted the feature/improve_urls branch October 13, 2015 13:16
@ismail-s ismail-s mentioned this pull request Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant