Garde la locale par defaut dans les management commands
This commit is contained in:
parent
567c9a0a6d
commit
03f7dff813
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ from bda.models import SpectacleRevente
|
|||
class Command(BaseCommand):
|
||||
help = "Envoie les mails de notification et effectue " \
|
||||
"les tirages au sort des reventes"
|
||||
leave_locale_alone = True
|
||||
|
||||
def handle(self, *args, **options):
|
||||
now = timezone.now()
|
||||
|
|
|
@ -11,6 +11,7 @@ from bda.models import Spectacle
|
|||
class Command(BaseCommand):
|
||||
help = 'Envoie les mails de rappel des spectacles dont la date ' \
|
||||
'approche.\nNe renvoie pas les mails déjà envoyés.'
|
||||
leave_locale_alone = True
|
||||
|
||||
def handle(self, *args, **options):
|
||||
now = timezone.now()
|
||||
|
|
Loading…
Reference in a new issue