Filter that adds a period at the end of a string
Yeah, I know this is a very basic filter, but I thought I might as well share it with the world...
- text
- string
- stringformat
- string-formatting
Yeah, I know this is a very basic filter, but I thought I might as well share it with the world...
You have pagination for some blog. At the bottom of the page you have space for seven page links. This module tries to always fill out those slots. It handles the corner cases for first page and last page etc. The logic for this is complex and sadly the Django pagination module does not deal with this. Also, it's a hell to implement this in Django templates. Believe me. See pydoc for detailed documentation. Running tests was done with `doctest`.
Ztyx has posted 2 snippets.