It's time to provide filter API #22

playpauseandstop opened this Issue Feb 2, 2014 · 1 comment


None yet
2 participants

playpauseandstop commented Feb 2, 2014

For 0.5 release Flask-FlatPages only has ability to get flatpage by path, e.g.:

pages.get_or_404('path/to/page')  # This raises Http404 exception if page doesn't exist

This not covered all needs as seen in #15 and #20 pull requests. People wants to add functionality to grab multiple flatpages from pages dict, but in different ways, #15 propose full filter API, when #20 propose to add function for getting pages from data directory.

I have an idea on providing pythonic filter/sort API, so 0.6 version will contain its basic implementation.

tofias commented Feb 13, 2014

Sounds good. Seems weird to not be able to apply something like smartypants until the templating.

@playpauseandstop playpauseandstop modified the milestone: 0.6, 1.0 Jan 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment