fixed svg path
This commit is contained in:
parent
04afd4d913
commit
623934438f
|
|
@ -64,7 +64,7 @@ def image_path(instance, filename):
|
|||
def svg_image_path(instance, filename):
|
||||
"""Determine SVG path method."""
|
||||
filename = '%s.svg' % generate_code()
|
||||
return 'image/svg/%s/%s/%s' % (
|
||||
return 'svg/%s/%s/%s' % (
|
||||
instance._meta.model_name,
|
||||
datetime.now().strftime(settings.REST_DATE_FORMAT),
|
||||
filename)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user