Skip to content

Commit

Permalink
fix #158
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jul 18, 2024
1 parent 80b0b0b commit 0e821a3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Change Log
==========

v3.1.1 (18-JUL-2024)
====================

* Fixed `__pycache__ dirs should be ignored during batch rendering. <https://github.com/bckohan/django-render-static/issues/158>`_

v3.1.0 (16-JUL-2024)
====================

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-render-static"
version = "3.1.0"
version = "3.1.1"
description = "Use Django's template engine to render static files at deployment or package time. Includes transpilers for extending Django's url reversal and enums to JavaScript."
authors = ["Brian Kohan <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion render_static/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""

VERSION = (3, 1, 0)
VERSION = (3, 1, 1)

__title__ = "Django Render Static"
__version__ = ".".join(str(i) for i in VERSION)
Expand Down
2 changes: 2 additions & 0 deletions render_static/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@ def resolve_renderings(
continue
if any((tmpl_abs_path == excl for excl in excluded_files)):
continue
if "__pycache__" in tmpl_abs_path.parts:
continue
yield Render(
selector=selector,
config=config,
Expand Down

0 comments on commit 0e821a3

Please sign in to comment.