Pdf wrapper should not inherit from django model

It was already storing the version as a field, the inheriting from the
actual model was never used. Remove it, since newer django tries to
access a table based on the class name..
This commit is contained in:
Magnus Hagander
2018-03-23 14:16:23 +01:00
parent f49e1b870b
commit f5ed2399d4

View File

@ -88,7 +88,7 @@ def root(request):
'versions': versions,
})
class _VersionPdfWrapper(Version):
class _VersionPdfWrapper(object):
"""
A wrapper around a version that knows to look for PDF files, and
return their sizes.