Building an automatic admin interface #304
RobertoMaurizzi
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I think you'd want to go about it something like this:
Does that help at all? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd very much like to build something like the Django admin using Leptos and Butane, however I'm having trouble finding how to access the database structure from my code.
After a few tests trying to access the COLUMNS property for all DataObjects (building an Enum of them) that really can't work wel unless I'm missing something, I though it would be nice to get access to the data in
./butane/migrations/current/*.table
re-reading the file is possible but I was wondering how to do that accessing the migration machinery, so it would work with embedded migrations.
If you can give me some pointers about where to start from (do I use ADBs? If yes, how to get one that represents the current status of the database?) I'll happily try get something up and running.
Beta Was this translation helpful? Give feedback.
All reactions