Adds an admin for user profiles.

Fixes #5.
This commit is contained in:
Christopher Neugebauer 2016-09-13 19:06:20 +10:00
parent 3d534bcf42
commit cb4971fc25

View file

@ -0,0 +1,9 @@
import models
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
@admin.register(models.AttendeeProfile)
class UserProfileAdmin(admin.ModelAdmin):
model = models.AttendeeProfile
list_display = ("name", "company", "name_per_invoice")