New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Django staticfiles #229
Comments
This is work in progress on the
|
Once all of this is finished, it'll require some changes to the
|
I strongly recommend not using I wonder if we should have a (local) variant of |
We're currently on Django 1.4, so |
An upgrade is a good idea anyway, since 1.4 is pretty old now. If we can get onto 1.8 we get a lot of time before we have to upgrade again. Alternatively, we could probably suffer through the problems with cached in the short term given we don't often need to roll out changes to the static files. I assume you were thinking of using a redis-backed cache? (The implementation is pretty good from what I remember.) |
I've solved the SCSS problem by adding a make target to run There might be more elegant options, but this will work for now. The consequences of getting these bits wrong aren't really all that serious, we'll just that we have redundant URLs that aren't linked from anywhere serving files that are already under a public domain license. Just the cached or manifest file storage to go. |
Doesn't that mean that mission assets are going to be flattened? Actually, I think that was true beforehand, so I suspect this will only work for one (probably the last in lexical order?) mission. I should have caught that sooner, sorry. |
It should be fine: I'm giving each mission's |
Ah, cool. I'd forgotten about prefixes for |
Closing in favour of #232 |
Currently we don't, resulting in string concatenation to create URLs. We may be able to address #72 at the same time by building a proper asset pipeline.
The text was updated successfully, but these errors were encountered: