Hacker News new | past | comments | ask | show | jobs | submit login

As much as I hate Ruby, Rails has a similar thing, and ActiveAdmin is just plain wonderful. Django AdminTools and Rails ones are must haves for me anymore.



Django AdminTools has been' updated since 2021. Is there an alternative that you use?

+1 on ActiveAdmin. We recently switched from Rails to Django and AA is something I'm severely missing. The DSL is terrribbblee but once you learn it, omg so fast to do anything.


Just stick appsmith, budibase or any of the other low code admin interfaces in front of your database.


I really looked into appsmith because of how cool the look, but one key problem I have is we're fintech so auditing objects is critical.

Appsmith has its own logging system and our Django app will also have one through django-simple-history. Reconciling the two will be super annoying. Rollbacks for user edited objects will be effectively impossible w/o a separate system.


Auditing who's accessed/used the admin?


Auditing changes to objects.


You could handle that with an audit log (there's some standard ways to do this in SQL databases). And then expose that in the admin interface via the low code tools (which have SQL-to-UI builders).

Here's an example of an audit log I put together for an in app activity feed (in Postgres):

https://gist.github.com/cpursley/a2ae79423bee9274e3639839967...


Thanks i appreciate the help. We'll take a look at it. Realistically it's probably too much lift to do all this directly. Key benefits of django-simple-history are single line add to other tables/models as well as reifying historical items.


That does look nice!


I haven't used Django in around 3 years, but I recall seeing very verbose tooling when I was learning it

edit: the default provided admin tools. I didn't know if it was called AdminTools or whatever.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: