No problem at all.
Also one more thing, to access settings constants from templates you'll
need this;
http://stackoverflow.com/questions/433162/can-i-access-constants-in-settings-py-from-templates-in-django
Gulp sadly does have many of the same performance problems that Grunt has,
however the
Awesome answer. Thanks.
The only reason I considered using a Python HTML library was because I
thought you might need to edit the base template to change the
JavaScript and CSS links from the individual files to the main
concatenated files when deploying to production. I didn't realise you
Personally I use a mixture of Vagrant, Docker, Gulp and makefiles to
automate the entire process.
You run the gulp process as a backgrounded job, and then the django
runserver in the foreground.. of course, this means gulp is then not
interactive.. if you want both to be inter, then you have to
I'm using Gulp.js to deal with my JavaScript and SASS files to
concatenate them and minify them but I'm unsure how to merge it with my
Django workflow. I want to be able to automatically minify the files
into one big JavaScript and CSS file to reduce HTTP requests and to
allow easy uploading
4 matches
Mail list logo