M
M
Maks Evloev2020-07-23 18:08:02
Django
Maks Evloev, 2020-07-23 18:08:02

How to make a Django website dynamic?

The site shows the weather of the city that the person is looking for in a row. The data is taken from json. But after searching, the site reloads and weather data appears. But is it possible to make the data appear without reloading? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2020-07-23
@tryex0011

Yes.
Send a search request with ajax, and then update part of the page without reloading.

D
Dr. Bacon, 2020-07-23
@bacon

Just like any other site. Django has nothing to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question