copyleftconf-website/pinaxcon/registrasion/admin.py
Christopher Neugebauer cb4971fc25 Adds an admin for user profiles.
Fixes #5.
2016-09-13 19:06:20 +10:00

9 lines
281 B
Python

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")