The commented out code at https://github.com/DjangoCoder/DjangoGUI/blob/master/templates/base.html on lines 192, 193, 196, 197, 199, and 205 was freezing the UI up. I could barely use my text editor. I want to uncomment those lines. Is there a way to do so without freezing the UI? The site is at
http://198.144.178.112:8000
You need to set async to true. That’s the purpose of the async parameter is to allow for this to happen in the background while the browser continues on with the rest of the code.
Edit: Sorry, here’s more information.
Starting at line 173, you should change the async parameter in the initialization of the ajax function to true. Like this: