project/kiwipycon/user/admin.py
author hg@fossee.in
Wed, 16 Dec 2009 23:42:56 +0530
changeset 80 d26e46249ff7
parent 1 fda1c66b25f9
permissions -rw-r--r--
Commented out RSS feed again.

# -*- coding: utf-8 -*-
from __future__ import absolute_import

#django
from django.contrib import admin

#kiwipycon
from .models import UserProfile

class UserProfileAdmin(admin.ModelAdmin):
    list_display = ('user', 'email',  'url', 'about')

    def email(self, obj):
        return obj.user.email

admin.site.register(UserProfile, UserProfileAdmin)