It was much easier for me to substantially separate Django from Sass. You can use them at the same time, but this may require a different terminal window. In the end, it is all about servicing compiled assets.
Usually I set up my project using the / src / directory in the root, where I place the Sass files. I also created a Compass project in this root directory with compiled style sheets that go into / static / css /.
Obviously, this can become problematic if there are many applications in the project, since you want to create application directories in the root / static / or create another Compass project in /
I usually use Grunt to compile my Sass / Compass files, so it is a bit more complicated, although it is easy to recreate.
The Frank Wiles Ultimate Front End Development Setup post is pretty close to how I set up my projects, although I skip using the django compressor, how I feel adding middleware is not required, and obviously I'm using Grunt instead of Gulp.
faustman
source share