Login
You're viewing the functional.cafe public feed.
  • Nov 19, 2026, 4:39 AM

    @CodenameTim The tenant FK case is the common one. Without the private method, a duplicate slug passes clean() and only fails at save() with an IntegrityError, so unless the view catches it, the user gets a 500 instead of a form error.

    Of the two ideas, I'd go with the named list. With the overlapping flag, a constraint added later quietly changes what the form checks, and that's easy to miss in review.

    💬 0🔄 0⭐ 0