mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-28 10:11:53 +00:00
12 lines
313 B
Python
12 lines
313 B
Python
|
from django.contrib import admin
|
||
|
|
||
|
from registration.models import RegistrationProfile
|
||
|
|
||
|
|
||
|
class RegistrationAdmin(admin.ModelAdmin):
|
||
|
list_display = ('__unicode__', 'activation_key_expired')
|
||
|
search_fields = ('user__username', 'user__first_name')
|
||
|
|
||
|
|
||
|
admin.site.register(RegistrationProfile, RegistrationAdmin)
|