Reputation: 1169
I am trying to build an angularjs, django application... I have seen examples that sores the templates in static folder. Do you think that is a good practice?
Django has template folders for visual stuff.
Is there a better way?
Upvotes: 0
Views: 27
Reputation: 599788
Yes. From the point of view of Django, AngularJS templates are static files. If you try to serve them as templates, then Django will attempt to parse the template syntax and all kinds of odd things will happen.
Upvotes: 1