Comments (11)
Then presumably in one of your templates you are using a templatetag named crispy_forms_tags
.
If its so, please close.
from django-sass-processor.
I had the same problem too, the django rest framework includes templates that perhaps use it, even though my project never used them.
from django-sass-processor.
which version of DRF? I currently using 3.1.3 and do not encounter these problems.
from django-sass-processor.
We (including @franksmit) use the following:
Django==1.9.2
django-sass-processor==0.3.4
djangorestframework==3.3.2
libsass==0.10.1
from django-sass-processor.
ok
In DRF 3.1.3 the templatetag crispy_forms_tags is not used. This seems to haven been added later to the file
rest_framework/templates/rest_framework/filters/django_filter_crispyforms.html
So what can we do?
- you add crispyforms to your project
- we ask Tom Christie to remove that dependency :)
- someone adds an option, say
--ignore-template-errors
to the command compilescss
the latter approach is presumably the more future-proof
from django-sass-processor.
from django-sass-processor.
Just a question, from looking at the code there should only be an error message. The compilation step should not abort. Or is this different in your environment?
from django-sass-processor.
from django-sass-processor.
I just added a check on the verbosity. If its 0 no warnings are generated.
Please checkout from GitHub and test, it then will be part of 0.3.5
from django-sass-processor.
from django-sass-processor.
@jrief exactly this breaks my sass routine, when crispy-forms are added to my project it just works
unfortunately not as intended... 'sass_src' pointing to scss in static folder serves just precompiled css, if that css is deleted it doesn't compile on runtime, SASS_PROCESSOR_ENABLED is set to DEBUG value (True), SASS_PROCESSOR_AUTO_INCLUDE = False, no other settings, manage command works good after crispy forms addition
django 1.9
python 3.5
from django-sass-processor.
Related Issues (20)
- Auto-compile stops for unknown reason HOT 2
- FILE_CHARSET is removed in Django 3.1 HOT 3
- LibSass is deprecated HOT 3
- Remove note about Django 3.0 compatibility from the readme HOT 1
- Q: Compile to media storage instead of static? HOT 11
- sass_inline HOT 7
- Invalid setting 'base_url' for S3StaticStorage (from django-storages) HOT 4
- import statement in SCSS file not working with v1.0.1 HOT 1
- Compilescss failed with a lot of "non sense" errors HOT 8
- CSS not updating when DEBUG=True until I erase existing css files in Docker container HOT 1
- sequence item 1: expected str instance, WindowsPath found HOT 4
- Regression: Use of custom storages broken HOT 11
- Why does compilescss create two files HOT 1
- TypeError when using Google backend from django-storages HOT 1
- Web Page Rendering After Installation & Installation is Messed Up HOT 2
- Import-only files are not monitored for changes HOT 7
- Deprecation of STATICFILES_STORAGE in django 4.2 HOT 1
- Third party documentation no longer available HOT 7
- Error sometimes occurs when trying to compile scss
- Broken in Django 5.1 alpha due to get_storage_class HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-sass-processor.