summaryrefslogtreecommitdiff
path: root/postgresqleu/static/views.py
AgeCommit message (Collapse)Author
2023-07-12Implement static file URL filtering from pgwebMagnus Hagander
This filters filenames to be regular ascii characters, and sets a max length for URLs. Changes the errors for some broken urls and attempted-scriptkiddie-exploits to just be a not found instead fo an internal server error.
2018-12-14Fix blankline related warningsMagnus Hagander
2018-12-14Replace tabs with spacesMagnus Hagander
In an effort to close up with PEP8, we should use spaces for indent rather than tabs... Time to update your editor config!
2018-06-11Fix fix for file not foundMagnus Hagander
The old one was broken for URLs with .. in them, the new one was broken for everything else. Let's see if we can get them both fixed at once.
2018-06-11Fix error handling for static fallback not foundMagnus Hagander
This should raise an actual 404 error and not throw a random exception caused by the django upgrade..
2018-03-23template.render() should not use a context, just a dictMagnus Hagander
2014-01-01Remove unused code and fix bugs uncovered by explicit importingMagnus Hagander
2014-01-01Clean up unused importsMagnus Hagander
2009-02-20Make news and events read from the database.Magnus Hagander
Enable admin interface to edit news and events. Add countries module to reference for events. Implement RSS feeds for news and events.
2008-11-12Initial commit so people can see and comment on it.Magnus Hagander
Not at all ready yet.