b4b09b680a
Handle excessively long paths
2024-06-06 18:07:05 +10:00
6af885985c
Move SITE_FUNDGOAL configuration to settings/base.py
...
This changes more often than the surrounding code, so should live with the other
configuration.
2024-05-10 12:00:44 +10:00
c58ba95093
Merge sponsors.py into supporters app, frontpage.py into views.py
...
Just a small structural change so that the related functionality is grouped together.
2024-05-10 11:27:51 +10:00
ffcf016336
Specify encoding for templates in case it's not the default
2024-03-22 10:10:57 +11:00
c52b91e183
Move the content templates/files into conservancy/content
...
These were previously intermingled with the static content in `conservancy/static`.
2024-03-22 09:34:20 +11:00
8963dc916e
Handle trailing slashes in static content
2024-03-20 15:45:46 +11:00
994d58ddf6
Rewrite the index view to avoid risk of path traversal
...
I've simplified this view by removing the custom HTTP error handlers, Python 3.5
exception handling and adding documentation.
2024-03-13 13:16:29 +11:00
21c7d404a6
Update the path to templates in index()
2024-03-06 19:02:00 +11:00
d443376fc7
Move Python code out of the "conservancy/static" directory
...
Having Python code in "conservancy/static" is a bit suprising to people familiar
with Django. The name "static" is usually reserved for assets like CSS, JS and
images.
I'm moving `conservancy/static/views.py` to `conservancy/views.py` and removing
`conservancy/static/__init__.py`.
2024-03-06 18:46:40 +11:00