Questions tagged [django-pipeline]

An asset packaging library for Django

Django Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding.

110 questions
1
vote
0 answers

Using concatenated JS with DEBUG = True

On my staging server I want it to use the concatenated and minified JS (as I want to have it be as similar to the production server as possible). This is also important for cachebusting as opposed to pointing to single files off of cloudfront (where…
Chris
  • 170
  • 2
  • 11
1
vote
1 answer

Prevent Django Pipeline from post processing certain files

I'm currently implementing Django Pipeline to minify my CSS/JS but I would like to stop it appending unique identifiers to certain files. This is because I am using django-tinymce and certain popups fail due to Django Pipeline. I get the following…
Jeff_Hd
  • 2,174
  • 3
  • 19
  • 29
0
votes
1 answer

django-pipeline not working with S3Boto3Storage

How can I use S3Boto3Storage with django-pipeline? According to the docs it looks like it would work: https://django-pipeline.readthedocs.io/en/latest/storages.html#using-with-other-storages The documentation looks a little bit outdated, because the…
0
votes
1 answer

create_user() missing 1 required positional argument: 'username' error while logging in with python-social-auth

I have created a custom AbstractUser user model and I am using python-social-auth to log in the user via Steam. But when I try to log in the user I will get this error. I have tried adding username to REQUIRED_FIELDS but both ways I get the same…
0
votes
1 answer

How to load stylesheets asynchronously (with loadCSS)

how can I load my stylesheets with loadCSS (https://github.com/filamentgroup/loadCSS)? Currently I am including the javascript of loadCSS with a template tag like that into my head. I just surrounded my default css with the noscript tags as a…
Philipp S.
  • 827
  • 17
  • 41
0
votes
0 answers

Why is my Django loading raw css into my html files?

I have a Django project which has been set us using django-pipeline and django-compress. The code on github is pretty standard ex: {% extends "base.html" %} {% load static from staticfiles %} {% block extra_head %}
salty_coffee
  • 631
  • 1
  • 10
  • 22
0
votes
1 answer

Permission denied on running collectstatic with django-pipeline on Heroku

I have a Django 2.0 project that uses django-pipeline for static files with pipeline.compilers.sass.SASSCompiler compiler. It works perfectly in development, but when I deploy it on Heroku, I get the following error on running…
cansadadeserfeliz
  • 3,033
  • 5
  • 34
  • 50
0
votes
1 answer

Django-ckeditor and django-pipeline

I have an issue with django-ckeditor, I'm using it with django-pipeline, everything it's ok when is run locally, but if DEBUG=False the ckeditor.js used is the compressed one and fails. This is the issue I get from the developer tools in chrome when…
Karim N Gorjux
  • 2,880
  • 22
  • 29
0
votes
0 answers

Django manage.py collectstatic SuspiciousFileOperation

I'm working on combining React with Django 1.10 and am getting pretty funky activity when trying to configure the pipeline. Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File…
Matthew S
  • 343
  • 3
  • 11
0
votes
1 answer

RuntimeError when building CSS from SCSS files of Foundation-sites with Django-pipeline

My issue is in the same context as Django-Bower + Foundation 5 + SASS. I'm trying to compile foundation from scss to css. The problem is that I'm encountering the following…
Hakim
  • 3,225
  • 5
  • 37
  • 75
0
votes
1 answer

ValueError: Empty key names are not allowed when using collectstatic django

I am using django-pipeline S3PipelineManifestStorage with django-storages When I use collectstatic to upload and post-process(minify) my assets, I get an error when post-processing. Earlier, collectstatic worked fine and gave no error. Here's the…
0
votes
1 answer

Django pipeliner: /usr/bin/env: yuicompressor: No such file or directory

I have the following versions of django and django-pipeline: Django==1.10.3 django-pipeline==1.6.9 In /usr/bin/ I see "yui-compresssor" listed. Running collectstatic gives the following error. pipeline.exceptions.CompressorError: /usr/bin/env:…
polarcare
  • 575
  • 1
  • 6
  • 24
0
votes
1 answer

Cannot compile sass: error "cannot load such file -- bootstrap-sass"

First time using sass. I need just to compile the sass using django-pipeline, but I cannot do it caused this error. Any idea why? I installed the requested gem. $ gem install bootstrap-sass Successfully installed bootstrap-sass-3.3.7 Parsing…
Karim N Gorjux
  • 2,880
  • 22
  • 29
0
votes
1 answer

Django settings not set

I'm having trouble with django-pipeline which requires you to set the settings.STYLUS_BINARY for the stylus compiler. In my settings.py I have the following: STYLUS_BINARY = os.path.join(BASE_DIR, 'node_modules', '.bin', 'stylus') If I print this…
Terence Chow
  • 10,755
  • 24
  • 78
  • 141
0
votes
0 answers

FileNotFoundError: [Errno 2] No such file or directory: '/Users/hanminsoo/Documents/photogram/photogram/photo

Using pipeline... I order python photogram/manage.py collectstatic and You have requested to collect static files at the destination location as specified in your…
Jade Han
  • 1,185
  • 5
  • 15
  • 36