Skip to content

Commit

Permalink
fixes #2 (python /app/manage.py collectstatic --noinput --clear error)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ford Guo committed May 19, 2020
1 parent d0994a7 commit 9e71a33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions django_storage_qcloud/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def _save(self, name, content):
return name

def exists(self, name):
if not name:
return False
if self._check_url(name):
return True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
AUTHOR = "Ford"
AUTHOR_EMAIL = "agile.guo@gmail.com"
URL = "https://github.com/fordguo/django-storage-qcloud"
VERSION = '0.2.0'
VERSION = '0.2.1'

setup(
name=NAME,
Expand Down

0 comments on commit 9e71a33

Please sign in to comment.