Support for grouping of tables in the Admin UI #199
sumitsharansatsangi
started this conversation in
Ideas
Replies: 1 comment 16 replies
-
Yes, it's an interesting idea. You can override the table name: class Post(Table, tablename="blog_post"):
... But I think what you're suggesting is dividing the sidebar in Piccolo Admin by app would be useful. We could do something like: create_admin(tables=[
TableConfig(Director, group='Movies'),
TableConfig(Movie, group='Movies'),
TableConfig(Studio, group='Movies'),
TableConfig(Band, group='Music'),
TableConfig(Manager, group='Music'),
]) |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For a project with lots of tables under different app requires grouping of tables.
Django provide it by creating the section with the App label ( Don't know, is there an option to customise the name too, haven't explored).
In piccolo, if grouping of table can be provided with the custom naming support (default with the App label) can be very helpful.
You can also provide an option to choose grouping of tables or not too.
Beta Was this translation helpful? Give feedback.
All reactions