django-adminplus icon indicating copy to clipboard operation
django-adminplus copied to clipboard

Now have to set admin.sites.site

Open AstraLuma opened this issue 8 years ago • 3 comments

In order for default @admin.register to work, you have to also set admin.sites.site like so:

admin.site = admin.sites.site = AdminSitePlus()

AstraLuma avatar Sep 26 '16 20:09 AstraLuma

@astronouth7303 thanks!

sylwekb avatar Oct 10 '16 13:10 sylwekb

Thanks for this report. Doing this also helped me get the other apps in INSTALLED_APPS like django.contrib.auth to show up.

jordanambra avatar Mar 14 '17 04:03 jordanambra

You saved the day!

ghost avatar Sep 13 '18 22:09 ghost

I'm going to close this out because I think with the App Config work in 2.x/3.x/4.x there are now better ways to install AdminPlus, but it will take me a little bit to catch up on it

jsocol avatar Dec 05 '23 19:12 jsocol