Skip to content

Commit

Permalink
remove any reference for schema_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinit Kumar committed Jul 18, 2017
1 parent c3a55b8 commit a9709a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions cmsplugin_gallery/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ def __init__(self, sub_path):
self.path = sub_path

def __call__(self, instance, filename):
if connection.schema_name:
return "gallery/%s/%s" % (connection.schema_name, filename)
else:
return "gallery/%s" % (filename)
return "gallery/%s" % (filename)

get_upload_path = UploadPath('GalleryPlugin')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='cmsplugin_gallery',
version='0.6.10',
version='0.6.11',
author='Piotr Kilczuk',
author_email='[email protected]',
url='http://github.com/centralniak',
Expand Down

0 comments on commit a9709a6

Please sign in to comment.