Skip to content
Snippets Groups Projects
  1. Jul 03, 2013
  2. Jun 28, 2013
  3. Jun 27, 2013
  4. Jun 20, 2013
  5. Jun 19, 2013
  6. Jun 18, 2013
  7. Jun 17, 2013
  8. Jun 10, 2013
  9. Jun 06, 2013
  10. Jun 03, 2013
    • Nate Hardison's avatar
      Preprocess assets as Django management command · 1001b315
      Nate Hardison authored
      Rather than directly invoke command-line Python (and Mako) from the
      assets Rakefile, or call an external Python script, use a Django
      management command to preprocess all asset template files.
      
      An "asset template file" is defined as a static asset file with a
      file extension indicating that it needs to be run through a template
      engine prior to Sass/CoffeeScript compilation or packaging with other
      assets. The preprocess_assets management command will look through
      all of the files listed in the `STATICFILES_DIRS`, preprocessing each
      as needed. Preprocessing strips off the special template file
      extension, creating a new file in the process.
      
      Currently, the only variable accessible in an asset template file is
      the `THEME_NAME`, defined in the settings.
      1001b315
  11. May 30, 2013
  12. May 29, 2013
  13. May 28, 2013
  14. May 23, 2013
  15. May 22, 2013
  16. May 21, 2013
  17. May 17, 2013
  18. May 16, 2013
  19. May 10, 2013
  20. May 09, 2013
  21. May 06, 2013
  22. May 02, 2013
  23. Apr 30, 2013
  24. Apr 23, 2013
  25. Apr 18, 2013
  26. Apr 17, 2013
  27. Apr 12, 2013
  28. Apr 04, 2013
  29. Apr 03, 2013
Loading