thunderbird_accounts.admin

Stores admin panel related config classes

Classes

AccountsAdminConfig(app_name, app_module)

AccountsAdminSite([name])

class thunderbird_accounts.admin.AccountsAdminConfig(app_name, app_module)[source]

Bases: AdminConfig

class thunderbird_accounts.admin.AccountsAdminSite(name='admin')[source]

Bases: AdminSite

logout(request, extra_context=None)[source]

Log out the user for the given HttpRequest.

This should not assume the user is already logged in.

get_app_list(request, app_label=None)[source]

We append a fake model view in the admin panel list so we can link to the stalwart principal page