We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e25e60 commit 4fa0b87Copy full SHA for 4fa0b87
patchman/management/commands/set_site.py
@@ -17,7 +17,7 @@ def handle(self, *args, **options):
17
try:
18
Site.objects.filter(pk=settings.SITE_ID).update(
19
name=options['site_name'], domain=options['site_name'])
20
- if options['claer_cache']:
+ if options['clear_cache']:
21
Site.objects.clear_cache()
22
except Exception as e:
23
raise CommandError('Failed to update Site name', str(e))
0 commit comments