A
A
Alexander2019-01-14 15:56:14
Django
Alexander, 2019-01-14 15:56:14

Django - how to open directory by link?

Django uses links as applications, for all applications a link is specified like:
domain.ru/app1
domain.ru/app2 etc.
And how to use a physical directory or a link to a directory? I just have a directory of files that I want to use on my domain.
PS There were no problems and problems with php... Any directory in the root of the site was already a directory that could be accessed by clicking on a link like https://domain.ru/directory

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilyas, 2019-01-14
@id2669099

Why compare warm with soft (I'm talking about how you compared with php). Django developers do not recommend giving static from production, but if it was necessary, then here is the built-in serve view, which will allow you to map the directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question