Commit graph

14 commits

Author SHA1 Message Date
Mouse Reeve
b4e0749f73 Disallow registration in install mode and adds redirects 2022-02-17 10:52:12 -08:00
Mouse Reeve
4ba375892a
Merge pull request #1793 from bookwyrm-social/more-caches
More caches
2022-01-10 11:25:26 -08:00
Mouse Reeve
0a182e8150 Caches query for landing page books 2022-01-09 13:04:41 -08:00
Mouse Reeve
a1e3ef1c79
Fixes pylint complaint 2022-01-06 18:47:14 -08:00
Hugh Rundle
e4be6a98e8
do not cache registration form
Fixes #1777

Caching the Landing view also caches the registration form, including the CSRF value.

This moves the caching into the recently reviewed books landing template which is presumably what we're trying to cache here, instead of caching the whole view.

NOTE: this fixes the problem with registration, I haven't done enough testing to be sure it actually still caches the recent reviews data.
2022-01-07 13:13:56 +11:00
Mouse Reeve
0f09759662 Separate out landing and about views files 2022-01-06 09:51:38 -08:00
Mouse Reeve
b8c72d75e5 Python formatting 2022-01-06 09:48:36 -08:00
Mouse Reeve
461bfd0ce7 Link to books 2022-01-06 09:47:46 -08:00
Mouse Reeve
d690224559 Use weighted averages 2022-01-06 09:39:51 -08:00
Mouse Reeve
840746754d Fixes superlatives 2022-01-06 09:22:10 -08:00
Mouse Reeve
4caa68200f Adds more info to the about page 2022-01-06 09:04:59 -08:00
Mouse Reeve
b855464396 Expands about pages 2022-01-05 21:42:41 -08:00
Mouse Reeve
b0fef8f0e3 Cache landing page 2022-01-05 15:53:01 -08:00
Mouse Reeve
290039ac66 Moves landing views into directory 2021-10-16 11:45:55 -07:00
Renamed from bookwyrm/views/landing.py (Browse further)