0
My application uses these two frameworks Boostratp and Crispy, when I am connected on the internet, everything works perfectly, but when disconnecting the internet the site loses all style.
Making a comparison with Java, I use Jquery, Bootstrap... making direct reference to the . js and . css sites and do not need to be connected to make use of these features, would have some way to do the same in Django?
Below are the lines used in the template:
{% load bootstrap3 %}
{% load crispy_forms_tags %}
From now on I thank you for your help.
It’s probably some error in your code, which is making some external request. I use Django in a project 100% offline and never had such a problem.
– Adriano Martins
Django does not do any external requests - this problem is clearly a matter of front-end frameworks that should have hardcoded Urls assuming that one will always be online. See the bootstrap and Crispy documetnation to see how to work offline.
– jsbueno
I appreciate the answers, you are correct. I use Ubuntu on a virtual machine, I probably had some momentary problem. After removing the network cable from the notebook, I was able to run the stylized application without any problem.
– Seixas