mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-30 21:07:02 -05:00
feat: Implement MFA authentication, add ride statistics model, and update various services, APIs, and tests across the application.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import json
|
||||
|
||||
import requests
|
||||
from django.core.files.base import ContentFile
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from apps.parks.models import Park, ParkPhoto
|
||||
from apps.rides.models import Ride, RidePhoto
|
||||
import json
|
||||
from django.core.files.base import ContentFile
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
@@ -13,7 +15,7 @@ class Command(BaseCommand):
|
||||
self.stdout.write("Downloading photos from seed data...")
|
||||
|
||||
# Read seed data
|
||||
with open("parks/management/commands/seed_data.json", "r") as f:
|
||||
with open("parks/management/commands/seed_data.json") as f:
|
||||
seed_data = json.load(f)
|
||||
|
||||
# Process parks and their photos
|
||||
|
||||
Reference in New Issue
Block a user