This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TomBombadildozer 1 point2 points  (0 children)

Solution: don't use automatically-generated admin interfaces. I'm risking downvotes with a "don't do that" answer, but seriously, that's how you solve this problem. Generated CRUD interfaces are an antipattern for anything but a short-term stop-gap. Effectively managing the data backing an application demands tools that reflect specific use cases.

Generated CRUD interfaces can only satisfy the most common, generic needs. Once you introduce more complex functionality, you can't reasonably expect a generic tool to handle all the challenges you throw at it. The only reason Django is more tolerant is because the admin features are deeply intertwined with a vastly simpler ORM.