Commit bf006812 authored by Michal Čihař's avatar Michal Čihař

Add admin interface

parent 2e4099f1
from django.contrib import admin
from accounts.models import Profile
class ProfileAdmin(admin.ModelAdmin):
search_fields = ['user__username']
admin.site.register(Profile, ProfileAdmin)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment