X
X

Select Your Currency

Türk Lirası $ US Dollar
X
X

Select Your Currency

Türk Lirası $ US Dollar
Yıllık Satın Alımlarda %15 İndirim: Şimdi Tasarruf Edin! Detaylı Bilgi İçin Tıklayın!

Knowledge Base

HomepageKnowledge BaseGeneralDjango url has allowed host and sch...

Django url has allowed host and scheme error

If you get the url_has_allowed_host_and_scheme error when you run your Django projects and run the admin link, the reason for the error is that your Django version and the version your project is running on are different.

We restart nginx with the following command:

systemctl restart nginx

You need to restart your Apache and nginx services. Apart from these, if you are using a service such as Supervisor, for example, you need to restart this service so that the version you have changed is detected by the server. You can reboot with the following command.

supervisorctl restart all

Can't find the information you're looking for?

You have examined the knowledge base in detail, but if you cannot find the information you need,

Create a Support Ticket
Did you find it useful?
(88 times viewed. / 0 people found helpful.)