mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-11 21:40:17 +02:00
* Refactor allianceauth into its own package * Add setup * Add missing default_app_config declarations * Fix timerboard namespacing * Remove obsolete future imports * Remove py2 mock support * Remove six * Add experimental 3.7 support and multiple Dj versions * Remove python_2_unicode_compatible * Add navhelper as local package * Update requirements
10 lines
256 B
Python
10 lines
256 B
Python
from django.contrib import admin
|
|
from .models import MarketUser
|
|
|
|
|
|
class MarketUserAdmin(admin.ModelAdmin):
|
|
list_display = ('user', 'username')
|
|
search_fields = ('user__username', 'username')
|
|
|
|
admin.site.register(MarketUser, MarketUserAdmin)
|