B
B
Borodat Inzhenerovich2016-10-30 17:48:41
Django
Borodat Inzhenerovich, 2016-10-30 17:48:41

Deploy media django on Beget.com hosting?

I'm trying to deploy my django project to beget.com via a preinstalled CMS. Everything works in DEBUG = True mode, when django itself distributes statics. But in the DEBUG = False mode, the project does not see the statics. By meaning, I understand that the server should distribute it, but I don’t understand how to do it on beget.com through the pre-installed CMS. The internets say only for the case of self-assembly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kipparis, 2018-12-09
@Kipparis

python library WhiteNoise
this problem will not only be on the run, if you try to start the server from the locale and open it somewhere through the tunnel, the static will also not be loaded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question