H
H
he he2016-08-10 12:56:25
Django
he he, 2016-08-10 12:56:25

Problems with django openserver?

In general, installed django on Openserver.
The installation (seems to have copied) everything into python, but also left it in the folder where django itself was (downloaded from off. archive and unzipped).
In general, I set 2 domains for each folder, when entering the domain - just the folder structure is displayed (According to the idea, the initial page should start, I understand that you need to specify something like Rewrite On, but I did not find anything for django)?
And another problem with the display of .py files itself (mod_wsgi is installed, everything works without a frame)
Error:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
Or:
Error message:
End of script output before headers: test.py
(If I create a clean file and write the path to Perl)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
akarin, 2016-08-10
@akarin

If I understand correctly, then you need to configure ROOT_URLCONF and urls.py.

K
Konstantin Omelyan, 2016-08-13
@Sipatyj

Isn't django running its own server?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question