On 4/02/2020 6:03 pm, maninder singh Kumar wrote:
I believe the django templates used for admin are pretty good. Are
they as good as they claim ?
Not sure what you are getting at here. They are very generic and I'm not
sure how I might intercept the sites template. Is that what you mean?
Mike
Sent from my iPad
On 04-Feb-2020, at 12:17 PM, אורי <u...@speedy.net
<mailto:u...@speedy.net>> wrote:
Did you try `django_admin.site.unregister(Site)` before you register
Site with your own admin?
אורי
u...@speedy.net <mailto:u...@speedy.net>
On Tue, Feb 4, 2020 at 7:56 AM Mike Dewhirst <mi...@dewhirst.com.au
<mailto:mi...@dewhirst.com.au>> wrote:
How do I control contrib.sites in the Admin?
I want to make it invisible to everyone except the superuser.
I have tried - inexpertly - to hijack the sites app in my own
project
but it stubbornly insists on using its own admin.py
Thanks for switching on any light bulbs
Cheers
Mike
--
You received this message because you are subscribed to the
Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users%2bunsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/9eee993a-98d0-fa77-9e92-a8bd447af37d%40dewhirst.com.au.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CABD5YeHi-N1wmz5buJgUEMfqRET5U6ZuFnSsOFSWp7iUOQWgjg%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CABD5YeHi-N1wmz5buJgUEMfqRET5U6ZuFnSsOFSWp7iUOQWgjg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/7F9FE9D3-8A04-46C8-8E71-A1D5A716A712%40gmail.com
<https://groups.google.com/d/msgid/django-users/7F9FE9D3-8A04-46C8-8E71-A1D5A716A712%40gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/220a18de-f35c-fabd-f23a-9ea6fbfb26ff%40dewhirst.com.au.