fnp
/
django-migdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
59793b2
)
fix for django 1.10
author
Jan Szejko
<janek37@gmail.com>
Thu, 13 Apr 2017 11:49:53 +0000
(13:49 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 13 Apr 2017 11:49:53 +0000
(13:49 +0200)
migdal/admin.py
patch
|
blob
|
history
diff --git
a/migdal/admin.py
b/migdal/admin.py
index
6d4bffe
..
f9974be
100644
(file)
--- a/
migdal/admin.py
+++ b/
migdal/admin.py
@@
-18,7
+18,7
@@
class AttachmentInline(admin.TabularInline):
def filtered_entry_admin(typ):
class EntryAdmin(admin.ModelAdmin):
- def queryset(self, request):
+ def
get_
queryset(self, request):
return self.model.objects.filter(type=typ.db)
def has_add_permission(self, request):