fnp
/
django-migdal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for django 1.10
[django-migdal.git]
/
migdal
/
admin.py
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):