You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But now we have views that are a little more complex on how they extract the project and version, and even ones that don't map to a version. All proxito views do map to at least one version (the one that belongs to the domain), so we can start with that being the default, probably.
This is kind of related to these attributes that we pass from several views to the middleware
When I wrote this mixin, it was to re-use it in the footer, search and related views where the project and version are given in the URL
readthedocs.org/readthedocs/api/mixins.py
Line 14 in 8c462bd
But now we have views that are a little more complex on how they extract the project and version, and even ones that don't map to a version. All proxito views do map to at least one version (the one that belongs to the domain), so we can start with that being the default, probably.
This is kind of related to these attributes that we pass from several views to the middleware
readthedocs.org/readthedocs/proxito/middleware.py
Lines 51 to 52 in 8c462bd
(they are used to set the cache tags!)
Haven't thought of a solution yet, but just wanted to open an issue, so we don't forget.
The text was updated successfully, but these errors were encountered: