1. 26 Jan, 2017 1 commit
  2. 15 Jan, 2017 2 commits
  3. 31 Dec, 2016 1 commit
    • Fix a regression in determining when to collect static files. · d79be259
      A commit made in 1.6.10 (ae6b3f8e)
      changed a storage lookup to use the prefixed_path variable instead of
      the path variable when looking up modification times in order to
      determine if an existing collected file should be deleted and
      re-collected. By using the wrong path variable, the storage lookups
      always failed, resulting in every single file being re-collected every
      single time.
      
      This reduces performance considerably, particularly with large codebases.
      Since every file ends up copied, they appear as new and are recompiled.
      This can result in very long page reloads on a development server,
      especially if working on an older machine, in a VM, on a shared
      filesystem, or on the Linux subsystem for Windows.
      
      This is a simple change that fixes the lookup to use the correct
      variable. Unit tests were added to ensure this continues to work as
      expected and does not regress.
      Christian Hammond committed
  4. 17 Dec, 2016 1 commit
  5. 10 Nov, 2016 2 commits
  6. 27 Oct, 2016 1 commit
  7. 26 Oct, 2016 2 commits
  8. 20 Oct, 2016 6 commits
  9. 01 Sep, 2016 1 commit
  10. 30 Aug, 2016 3 commits
  11. 29 Aug, 2016 1 commit
  12. 26 Aug, 2016 1 commit
  13. 05 Jul, 2016 1 commit
  14. 01 Jul, 2016 1 commit
    • Added missing classifiers to the `setup.py` · aef2c094
      I have added extra topics:
      
      ```
      +        'Topic :: Software Development :: Libraries :: Python Modules',
      +        'Topic :: Internet :: WWW/HTTP',
      +        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
      ```
      
      Added information about framework:
      
      ```
      'Framework :: Django',
      'Framework :: Django :: 1.6',
      'Framework :: Django :: 1.7',
      'Framework :: Django :: 1.8',
      'Framework :: Django :: 1.9',
      ```
      
      And `python` versions:
      
      ```
              'Programming Language :: Python :: 2.7',
              ...
              'Programming Language :: Python :: 3.4',
              'Programming Language :: Python :: 3.5',
              'Programming Language :: Python :: Implementation :: PyPy',
      ```
      
      I have also sorted the classifiers alphabetically.
      Sobolev Nikita committed
  15. 11 Jun, 2016 2 commits
  16. 07 Jun, 2016 1 commit
  17. 28 May, 2016 1 commit
  18. 08 May, 2016 1 commit
  19. 31 Mar, 2016 3 commits
  20. 30 Mar, 2016 1 commit
  21. 29 Mar, 2016 2 commits
  22. 23 Mar, 2016 1 commit
    • Switch to using os.path for outdated file checks in compilers. · 930b12c9
      The outdated file checks in the compilers were using django storages to check
      file existence and compare mtimes, but with my recent change (which restored
      the older behavior of comparing the infile and outfile), these were operating
      on absolute, local files, which could result in a SuspiciousFileOperation.
      
      The compilers always operate on local files, so we can switch to using the
      os.path methods for these instead. This is both more correct and more
      efficient.
      David Trowbridge committed
  23. 22 Mar, 2016 2 commits
  24. 21 Mar, 2016 2 commits
    • Merge pull request #552 from chipx86/templatetags/split-render-func · 0dc58580
      Split render_compressed in templatetags for easier subclassing
      David Trowbridge committed
    • Split the render_compressed method in templatetags for easier subclassing. · b647cf55
      The base mixin for the template tags, PipelineMixin, performed the bulk
      of its rendering logic in the render_compressed() method. It handled
      both rendering output files (if PIPELINE_ENABLED was True), or source
      files (if False). Due to the complexity of this method, it was difficult
      for a subclass (which may need to perform more specialized logic) to
      override this method without copying the code.
      
      This splits out that function into two new utility methods,
      render_compressed_sources() and render_compressed_output(). These take
      the same arguments as render_compressed(), and are called by that method
      as well. This allows a subclass to more easily replace the logic for
      determining which to call, or to replace the logic for either of these
      renders.
      Christian Hammond committed