18 Jul
2023
18 Jul
'23
10:34 p.m.
On 7/18/23 15:18, kjohnson@eclypse.org wrote:
mailman shell gave me:
>>>> from django.contrib.auth.models import User
>>>> User.objects.filter(is_superuser=True)
> <QuerySet [<User: admin>, <User: xxxx>]>
For Django, it's better to use the django admin shell
as it does
Django's initiaization which may be required depending on what you do.
Also Django has a web admin UI, normally at a URL like https://example.com/admin/
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan