Questions tagged [django-staticfiles]

A Django app that provides helpers for serving static files.

django-staticfiles is a Django app that provides helpers for serving static files.

1241 questions
4
votes
2 answers

Django Settings for Rendering static images from Google Cloud storage

I have my Django App hosted on Google Compute Engine. I wish to render static elements of the App from Google Cloud Storage. I have all the static elements inside Google Cloud storage bucket www.example.com/static My Settings.py: # Static files…
4
votes
1 answer

How to use a remote static file server while developing with django manage.py runserver

Background: I'm using the Django manage.py runserver for local development. I have the contrib.staticfiles in installed apps and I'm using its {% static %} template tag in my templates. What I try to achieve: For development, I'd like to use an…
zenperttu
  • 764
  • 1
  • 7
  • 13
4
votes
2 answers

heroku local static not found

'heroku local' can not find static files, but 'python manage.py runserver' finds the static files without issue. Can you please help me troubleshoot this issue? settings.py reads: PROJECT_ROOT =…
Ajax
  • 1,418
  • 2
  • 17
  • 38
4
votes
0 answers

Compiled SASS from django-pipeline not found by staticfiles even though it's present

I've configured django-pipeline as follows: PIPELINE = { 'PIPELINE_ENABLED': True, 'COMPILERS': ( 'pipeline.compilers.sass.SASSCompiler', ), 'STYLESHEETS': { 'common': { 'source_filenames': ( …
Pieter
  • 31,619
  • 76
  • 167
  • 242
4
votes
1 answer

Django Static js files not working

Well my template code. {% load staticfiles %}