[History] handle TypeError when adding action via web
[mygpo.git] / mygpo / votes / admin.py
blobfc50400069f101dbcca7126f7db05133da84aa3c
1 from __future__ import unicode_literals
3 from django.contrib.contenttypes.admin import GenericTabularInline
5 from . import models
8 class VoteInline(GenericTabularInline):
9 """ Inline Admin model for votes """
10 model = models.Vote
11 raw_id_fields = ('user', )