Commit 589b1892 authored by Julien Palard's avatar Julien Palard
Browse files

registration: Display if registered.

parent 3d927584
......@@ -3,6 +3,8 @@ from django.contrib import admin
from django_ace import AceWidget
from website.models import Answer, Exercise, Snippet
from website.forms import AnswerForm
from registration.admin import RegistrationAdmin
from registration.models import RegistrationProfile
class AdminExerciseForm(forms.ModelForm):
......@@ -52,6 +54,13 @@ class SnippetAdmin(admin.ModelAdmin):
search_fields = ("user__username",)
class MyRegistrationAdmin(RegistrationAdmin):
list_display = RegistrationAdmin.list_display + ("activated",), AnswerAdmin), ExerciseAdmin), SnippetAdmin), MyRegistrationAdmin)
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