Skip to content

Commit

Permalink
Fix assets.json path (mostly for tests).
Browse files Browse the repository at this point in the history
  • Loading branch information
hartym committed Aug 8, 2018
1 parent 7c76b21 commit 46aacb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_zero/jinja2.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def environment(**options):
env.globals.update(
{
"_": gettext,
"assets": AssetsHelper("assets.json"),
"assets": AssetsHelper(os.path.join(settings.BASE_DIR, "assets.json")),
"get_messages": messages.get_messages,
"settings": settings,
"static": staticfiles_storage.url,
Expand Down

0 comments on commit 46aacb6

Please sign in to comment.