register and sign in pages

This commit is contained in:
2026-09-22 00:50:30 +05:00
parent f313867653
commit 78d04f75d1
96 changed files with 6383 additions and 109 deletions
@@ -0,0 +1,16 @@
from django.core.management.base import BaseCommand
from locations.models import Atoll, Island
from locations.seed import seed
class Command(BaseCommand):
help = "Create the atolls and islands SAR Link serves (idempotent)."
def handle(self, *args, **options):
atolls, islands = seed(Atoll, Island)
self.stdout.write(
self.style.SUCCESS(
f"Locations seeded: {atolls} atoll(s), {islands} island(s) created."
)
)