Answer the question
In order to leave comments, you need to log in
How to store data in DB about Bootstrap grid?
Good day everyone!
Tell me, has anyone faced such a task:
The user in the admin panel (not django, custom) must create a dashboard (something like a workspace), inside which you need to store data in each cell according to the grid, so you must first create a bootstrap grid (store data rows and columns) and further to each cell to support data such as graphs, widgets, etc.
I can not understand how to organize the storage of this data in the database, how should the data be structured?
Maybe there is a similar package?
Answer the question
In order to leave comments, you need to log in
We simply store the number of columns for each block as a number. In the admin panel, it looks like a drop-down from 1 to 12.
True, not a bootstrap, but the essence is the same.
For lines checkbox "line break after block" as yes/no.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question