mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Implement documents inline for books and catalogs
This commit is contained in:
@@ -32,6 +32,7 @@ class Document(models.Model):
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
verbose_name_plural = "Documents"
|
||||
|
||||
def __str__(self):
|
||||
return "{0}".format(os.path.basename(self.file.name))
|
||||
|
Reference in New Issue
Block a user