[Answer]-Django deploy angular

1👍

This makes no sense at all. Django is not a thing you “deploy” a static Javascript app with. If you were building a dynamic data-driven app using Django as the backend and Angular as the front end, that would be a different thing, but you don’t appear to be doing so here.

Apart from anything else, Django is specifically not meant for serving static assets such as Javascript files. There are warnings all over the documentation warning against doing this. Even in a normal Django site, you must serve your JS files directly via the web server. Of course, doing so on your site would make Django completely irrelevant.

Leave a comment