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
1 answer

django pipeline FileNotFoundError when the path is right

I'm trying to add pipeline to my django project. But it's throwing me winerror 2 (FileNotFoundError) when I'm trying to execute collectstatic settings.py STATIC_URL = 'static/' STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage' STATIC_ROOT =…
NotEasy
  • 43
  • 5
1
vote
0 answers

File not found when running django collectstatic with django pipeline

This is my pipeline setting: STATIC_URL = '/static/' STATIC_ROOT = SETTINGS_DIR + '/static/' STATICFILES_DIRS = ( os.path.join(BASE_DIR, "static_files"), ) STATICFILES_STORAGE = 'pipeline.storage.PipelineManifestStorage' STATICFILES_FINDERS…
1
vote
1 answer

Minify All Static Files Without Changing Their Names Django-Pipeline

I'm using Django Pipeline as a drop in minifier for my static files. What I would like to happen is that when I run collectstatic that the django-pipeline would minify the file and output it with the same filename in the output folder.…
Bigbob556677
  • 1,805
  • 1
  • 13
  • 38
1
vote
0 answers

Django SuspiciousFileOperation: But Paths are correct

Fellow SOs: From one day to the other day, without making any changes other than installing windows updates, I get this error message: The joined path (C:\Users\X\Y\Z\data\static_files\admin\css\autocomplete.css) is located outside of the base path…
errorinpersona
  • 380
  • 5
  • 17
1
vote
1 answer

django-pipeline FileNotFoundError when i perform manage.py collectstatic

It's last some lines of traceback : File "C:\PycharmDev\TestVirtualEnv\testEnv1\lib\site-packages\pipeline\compressors\__init__.py", line 247, in execute_command stdin=subprocess.PIPE, stderr=subprocess.PIPE) File…
touchingtwist
  • 1,930
  • 4
  • 23
  • 38
1
vote
1 answer

django-pipeline: Why do these JS lines cause yui-compressor to crash?

I have a Django app, and within the app I'm trying to bundle and minify all Javascript files and CSS files. To do this, I'm using django-pipeline 1.2.6, and I have configured my settings file such that it uses the default YUICompressor to compress…
Sam Parsons
  • 537
  • 1
  • 6
  • 17
1
vote
1 answer

Using Django pipeline browserify on Windows

I'm trying to follow http://gregblogs.com/how-django-reactjs-and-browserify/. I went through some hoops to get collectstatic working but it runs without error now. However when I try to load the page which contains my react component, another…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
1
vote
1 answer

django-pipeline crashes python social auth

Currently I'm working in a little project that is contemplating social authentication (so python-social-auth is great). Also, I wanna to integrate django-pipeline to handle my assets (css principally). JS to perform a social sign up:…
slackmart
  • 4,754
  • 3
  • 25
  • 39
1
vote
1 answer

django-pipeline wipes out my entries in Django Database Cache

I'm working on a Django application which uses django-pipeline for dealing with browsers' file caching issues (and also for other benefits). STATIC_URL = '/static/' STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' STATICFILES_DIRS =…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
1
vote
1 answer

using django-pipeline locally

How can I view files inside STATIC_ROOT folder when I run local server (./manage.py runserver 0.0.0.0:8000)? I set up django-pipeline and collectstatic works as expected by putting minified file into directory designated by STATIC_ROOT. However,…
Dmitry
  • 4,143
  • 10
  • 46
  • 57
1
vote
1 answer

FileNotFoundError with browserify during django collectstatic

I am using django-pipeline-browserify to bridge django-pipeline and browserify. However, I am not able to collectstatic without the following error. And I am able to manually compile the js file by copying the command showed in the error message.…
Mox
  • 2,355
  • 2
  • 26
  • 42
1
vote
1 answer

Django-pipeline invalid syntax

I am trying to setup django-pipeline in my test project, however, I am running into a bug which doesn't have an obvious solution. Here is the pipeline configure in the settings.py PIPELINE = { 'PIPELINE_ENABLED': True, 'COMPILERS':…
Mox
  • 2,355
  • 2
  • 26
  • 42
1
vote
1 answer

Difference between compiling Angular 2 typescript on server or give TS to transpiler

i just want to start with angular 2 right way. Im using django and django-pipeline. I tried pipeline typescript module, which compiling all .ts files in .js files. But i cannot run it, due errors and here is my question about that, so i still not…
Dmitry Yudin
  • 1,033
  • 1
  • 10
  • 31
1
vote
0 answers

Testing django-pipelines on a dev machine

I would like to test django-pipelines during development (i.e. on a development machine with only django runserver and no production webserver). Normally during development Django serves static files so long as DEBUG=True, but not so if…
fpghost
  • 2,834
  • 4
  • 32
  • 61