-
Notifications
You must be signed in to change notification settings - Fork 15
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
Theme not loading static files #11
Comments
I have noticed I need to set these two settings to avoid an error when uploading a theme:
I have also noticed I need to delete the .git folder before uploading the theme tarball or I get a permissions error. |
This line is causing a problem: https://github.com/MegaMark16/django-cms-themes/blob/master/cms_themes/__init__.py#L62 It generates this error:
Possibly related to this: |
It might need to be blank or
now instead. |
Adding:
Fixed the problem but it should be getting set as I have THEME_DIR set. |
Thanks chrisfranklin, you helped me clear those errors myself. I have a question: I can install the theme from the admin site, but I have to manually add the theme templates to settings.py ( TEMPLATE_DIRS & CMS_TEMPLATES). Is this how it should be? |
Yeah I think so mate, would using the same names across your themes work? E.g. home.html, about.html etc |
Hey,
I am attempting to use the following path in my templates:
For example:
My theme is called chequers and the directory structure is as follows:
I do not seem to be able to load any static files and I am unsure of how to debug the problem. Any help would be appreciated. Thanks a lot!
The text was updated successfully, but these errors were encountered: