1👍
✅
Does useradmin
have a ModelAdmin
class defined, or do you import it from contrib.admin
? I don’t see anywhere in the code you supplied where that class gets set up.
That being said, there’s a much easier way to do this: just initialize two AdminSites, and then wire them up to the URLs that you want (You can even put them in the same urlconf).
Source:stackexchange.com