Answer the question
In order to leave comments, you need to log in
What tools to use for dynamic admin?
I do not understand how and what is required to implement dynamic content editing.
I decided to implement a multilink service for myself in order to consolidate my knowledge of django. Everything is fine, I got to the implementation of the admin panel for users and realized that if I do everything with constant page reloads and in general I divide all the functionality into different pages, then this is very inconvenient and not right. On YouTube, I looked at how admin panels are implemented for similar services.
An example of how it should be implemented - https://www.youtube.com/watch?v=pIXXZHKpaoM The
question is, how can I do this? What tools, packages, plugins are used for this and is it possible to combine it with django, although of course it is possible, I just don’t know which way to even look.
Answer the question
In order to leave comments, you need to log in
In order not to reload the page again, it is enough to use AJAX. Another thing is that having received the content on the client, it is necessary to dynamically update some part of the page. To do this, they recently used the jQuery library so as not to write in pure JS. For simple manipulations, it is enough, but when the functionality begins to grow, then starting from a certain point it turns out to be easier to take some kind of reactive JS framework like Vue.
1. The documentation of dzhanga deals with such requests, just delve into the dock.
2. But most likely it will be easier for you to write your own odmenka with blackjack and ... on some JS-framework. Approximately so, at one time, I jumped onto a flask (Flask), in which there is little superfluous in fact.
3. Well, in fact, nothing (almost) prevents you from using the brute force method with an admixture of perversions and redefining the admin templates and methods at the template level. Jinja i.e.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question