mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
* SeAT service in modular service app format * Replace string concatenation with formatters * Fix incorrect references to user * Fix exception when user doesn't have seat active * Prevent deletion of seat API keys by default * Improve api response error handling * Corrected notification message * Added missing view returns * Update SeAT to use permissions based access * Update password generator to new style * Correct logging message * Fix seat role update tasks * Correct validate user logic * Add seat test settings * Added basic seat unit tests * Added add permissions function from other branch * Remove obsolete settings references
11 lines
280 B
Python
11 lines
280 B
Python
from __future__ import unicode_literals
|
|
from django.contrib import admin
|
|
from .models import SeatUser
|
|
|
|
|
|
class SeatUserAdmin(admin.ModelAdmin):
|
|
list_display = ('user', 'username')
|
|
search_fields = ('user__username', 'username')
|
|
|
|
admin.site.register(SeatUser, SeatUserAdmin)
|