Commit 66b80241 authored by Julien Palard's avatar Julien Palard
Browse files

admin: Display user registration date.

parent 589b1892
......@@ -5,6 +5,8 @@ from website.models import Answer, Exercise, Snippet
from website.forms import AnswerForm
from registration.admin import RegistrationAdmin
from registration.models import RegistrationProfile
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
class AdminExerciseForm(forms.ModelForm):
......@@ -58,9 +60,16 @@ class MyRegistrationAdmin(RegistrationAdmin):
list_display = RegistrationAdmin.list_display + ("activated",)
class MyUserAdmin(UserAdmin):
list_display = UserAdmin.list_display + ("date_joined",), AnswerAdmin), ExerciseAdmin), SnippetAdmin), MyRegistrationAdmin), MyUserAdmin)
Supports Markdown
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