mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-01-02 03:27:02 -05:00
feat: Implement initial schema and add various API, service, and management command enhancements across the application.
This commit is contained in:
@@ -52,9 +52,7 @@ class Command(BaseCommand):
|
||||
park.name}: {
|
||||
photo.image.name}"
|
||||
)
|
||||
self.stdout.write(
|
||||
f"Database record created with ID: {photo.id}"
|
||||
)
|
||||
self.stdout.write(f"Database record created with ID: {photo.id}")
|
||||
else:
|
||||
self.stdout.write(
|
||||
f"Error downloading image. Status code: {
|
||||
@@ -112,9 +110,7 @@ class Command(BaseCommand):
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
self.stdout.write(
|
||||
f"Error downloading ride photo: {str(e)}"
|
||||
)
|
||||
self.stdout.write(f"Error downloading ride photo: {str(e)}")
|
||||
|
||||
except Ride.DoesNotExist:
|
||||
self.stdout.write(
|
||||
|
||||
Reference in New Issue
Block a user