Skip to content

Commit

Permalink
Merge pull request #5 from guyeshet/master
Browse files Browse the repository at this point in the history
removed no_translations because it's deprecated in Django 2.2.8
  • Loading branch information
theriverman authored Dec 27, 2019
2 parents 8122581 + ff868e8 commit 0ea9e0d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from django.core.management.base import BaseCommand, no_translations
from django.core.management.base import BaseCommand
from django_minio_backend.models import MinioBackend


class Command(BaseCommand):
help = 'Helps initializing Minio buckets by creating them and setting their policies.'

@no_translations
def handle(self, *args, **options):
self.stdout.write(f"Initializing Minio buckets...")
m = MinioBackend()
Expand Down

0 comments on commit 0ea9e0d

Please sign in to comment.