from django.contrib import admin

from profiles.models import UserProfile


@admin.register(UserProfile)
class UserProfileAdmin(admin.ModelAdmin):
    date_hierarchy = "created"
    ordering = ("-created",)
    readonly_fields = ("timezone_change_log",)
    exclude = (
        "twitch_token",
        "twitch_client_secret",
        "lastfm_password",
        "webdav_pass",
        "imap_pass",
        "archivebox_password",
        "todoist_auth_key",
        "todoist_state",
    )
