repo.or.cz
/
mygpo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run 2to3-3.4
[mygpo.git]
/
mygpo
/
votes
/
admin.py
blob
0105add21cfe21d3f2240f22255d76a001c0891e
1
2
3
from
django
.
contrib
.
contenttypes
.
admin
import
GenericTabularInline
4
5
from
.
import
models
6
7
8
class
VoteInline
(
GenericTabularInline
):
9
""" Inline Admin model for votes """
10
model
=
models
.
Vote
11
raw_id_fields
= (
'user'
, )