xmpp.chapril.org-conversejs/accounts/admin.py
2012-03-02 14:43:56 +01:00

9 lines
192 B
Python

from django.contrib import admin
from accounts.models import Profile
class ProfileAdmin(admin.ModelAdmin):
search_fields = ['user__username']
admin.site.register(Profile, ProfileAdmin)