mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-03 20:57:50 +02:00
Hotfix for document filename
This commit is contained in:
@@ -142,7 +142,7 @@ class RollingStockDocument(models.Model):
|
||||
return "{0}".format(os.path.basename(self.file.name))
|
||||
|
||||
def filename(self):
|
||||
return self.__str__
|
||||
return self.__str__()
|
||||
|
||||
def download(self):
|
||||
return mark_safe(
|
||||
|
Reference in New Issue
Block a user