I would like to run a require.config() call around the same time javascript.htm is loaded in base.htm. For this I created templates/config.htm in my own Arches app.
What is the recommended way of doing this? Do I need to make a copy of base.htm and include my templates/config.htm there? If I do that I get this error: RuntimeError at /searchmaximum recursion depth exceeded while calling a Python object Request Method: GET Request URL: http://localhost:8000/search Django Version: 1.11.14 Exception Type: RuntimeError Exception Value: maximum recursion depth exceeded while calling a Python object Exception Location: /web_root/ENV/local/lib/python2.7/site-packages/django/template/base.py in parse, line 515 Python Executable: /web_root/ENV/bin/python Python Version: 2.7.12 Python Path: ['/web_root/arches_3d', '/web_root/ENV/lib/python2.7', '/web_root/ENV/lib/python2.7/plat-x86_64-linux-gnu', '/web_root/ENV/lib/python2.7/lib-tk', '/web_root/ENV/lib/python2.7/lib-old', '/web_root/ENV/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/web_root/ENV/local/lib/python2.7/site-packages', '/web_root/arches', '/web_root/ENV/lib/python2.7/site-packages', '/web_root/arches_3d/arches_3d'] Server time: Tue, 11 Sep 2018 07:18:23 -0500 With the following highlighted code as the culprit: {% if use_livereload %} I would prefer not to copy base.htm, but I can't find a way to inject my code. e.g. with the {% block pre_require_js %} block. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.