mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
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:
@ -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.
|
||||
|
Reference in New Issue
Block a user