mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 12:31:22 -05:00
Merge pull request #25 from pacnpal/pixeebot/drip-2025-02-06-pixee-python/remove-unnecessary-f-str
Remove Unnecessary F-strings
This commit is contained in:
@@ -22,7 +22,7 @@ class Command(BaseCommand):
|
|||||||
self.stdout.write(f'- {site.domain} ({site.name})')
|
self.stdout.write(f'- {site.domain} ({site.name})')
|
||||||
|
|
||||||
# Show callback URL
|
# Show callback URL
|
||||||
callback_url = f'http://localhost:8000/accounts/discord/login/callback/'
|
callback_url = 'http://localhost:8000/accounts/discord/login/callback/'
|
||||||
self.stdout.write('\nCallback URL to configure in Discord Developer Portal:')
|
self.stdout.write('\nCallback URL to configure in Discord Developer Portal:')
|
||||||
self.stdout.write(callback_url)
|
self.stdout.write(callback_url)
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ class Command(BaseCommand):
|
|||||||
# If no recipient specified, use the from_email address for testing
|
# If no recipient specified, use the from_email address for testing
|
||||||
to_email = options['to'] or 'test@thrillwiki.com'
|
to_email = options['to'] or 'test@thrillwiki.com'
|
||||||
|
|
||||||
self.stdout.write(self.style.SUCCESS(f'Using configuration:'))
|
self.stdout.write(self.style.SUCCESS('Using configuration:'))
|
||||||
self.stdout.write(f' From: {from_email}')
|
self.stdout.write(f' From: {from_email}')
|
||||||
self.stdout.write(f' To: {to_email}')
|
self.stdout.write(f' To: {to_email}')
|
||||||
self.stdout.write(f' API Key: {"*" * len(api_key)}')
|
self.stdout.write(f' API Key: {"*" * len(api_key)}')
|
||||||
|
|||||||
Reference in New Issue
Block a user