from django.contrib import admin
from django.contrib.auth.models import User
from quiz.models import *
import reversion
from reversion.helpers import patch_admin
class QuizAdmin(reversion.VersionAdmin):
pass
class QuizQuestionAdmin(reversion.VersionAdmin):
pass
class QuizQuestionResponseAdmin(reversion.VersionAdmin):
pass
admin.site.register(Quiz, QuizAdmin)
admin.site.register(QuizQuestion, QuizQuestionAdmin)
admin.site.register(QuizQuestionResponse, QuizQuestionResponseAdmin)
patch_admin(User)
--
You received this message because you are subscribed to the Google Groups "django-reversion discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-reversi...@googlegroups.com.
To post to this group, send an email to django-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-reversion?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "django-reversion discussion group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-reversion/-dU2ju4s8YM/unsubscribe?hl=en-GB.
To unsubscribe from this group and all of its topics, send an email to django-reversi...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "django-reversion discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-reversi...@googlegroups.com.
To post to this group, send an email to django-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-reversion.