Python Forum

Full Version: running Django app with REST
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a Django web application that contains HTML, Javascript and CSS files. When i run my application i see that all the files are loaded one by one. What i need is to load all the files with one request so i will be able to call my app in different contexts. I've been told to check REST in order to make that happen.

How can i do that ?
rest has nothing to do with having your content split across multiple files.

If you don't want to send multiple clients to the client, then instead of using multiple files, but all the content in the <head> of your html document.
I think your point is Single page application
and you can do it with ajax and angularjs