I have built this designer as a standalone app and it works great using python -m SimpleHTTPServer
I have the code included in the Django app templates directory, renamed index.html to designer.html
I have a url entry:
url(r'^designer/', (DesignerView.as_view()), name='designer')
I have a view:
class DesignerView(TemplateView):
template_name = 'TdV-app-designer/designer.html'
and I have tried using the {% verbatim %} {% endverbatim %} tags to wrap the code (the entire file, just the body, just the <designer-element id="designer"></designer-element> tags, etc.) all to no success.
What happens is that the server begins recursively calling the custom element.
So I get:
[19/Nov/2014 09:46:41] "GET / HTTP/1.1" 200 12867
[19/Nov/2014 09:46:43] "GET /designer/ HTTP/1.1" 200 10193
[19/Nov/2014 09:46:43] "GET /designer/components/platform/platform.js HTTP/1.1" 200 10196
[19/Nov/2014 09:46:44] "GET /designer/elements/designer-element/designer-element.html HTTP/1.1" 200 10193
[19/Nov/2014 09:46:44] "GET /designer/elements/designer-element/components/platform/platform.js HTTP/1.1" 200 10193
[19/Nov/2014 09:46:44] "GET /designer/elements/designer-element/elements/designer-element/designer-element.html HTTP/1.1" 200 10193
[19/Nov/2014 09:46:44] "GET /designer/elements/designer-element/elements/designer-element/components/platform/platform.js HTTP/1.1" 200 10193
[19/Nov/2014 09:46:44] "GET /designer/elements/designer-element/elements/designer-element/elements/designer-element/designer-element.html HTTP/1.1" 200 10194
...
it continues until timeout and probably forever until the server runs out of memory.
Anyway, I have no idea what this is telling me.
Any hints as to where the problem is and/or how to fix it?
Thanks,
Tim