mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17: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))
|
return "{0}".format(os.path.basename(self.file.name))
|
||||||
|
|
||||||
def filename(self):
|
def filename(self):
|
||||||
return self.__str__
|
return self.__str__()
|
||||||
|
|
||||||
def download(self):
|
def download(self):
|
||||||
return mark_safe(
|
return mark_safe(
|
||||||
|
Reference in New Issue
Block a user