feat: Add proper location to adoption notices

This commit is contained in:
moanos [he/him] 2024-05-31 16:41:44 +02:00
parent 7210847710
commit 0dc391b432

View File

@ -48,9 +48,15 @@ class Command(BaseCommand):
'fellchensammlung.rescue_org' 'fellchensammlung.rescue_org'
) )
adoption1 = baker.make(AdoptionNotice, name="Vermittlung1TestSalt9227", organization=rescue1) adoption1 = baker.make(AdoptionNotice,
name="Vermittlung1TestSalt9227",
organization=rescue1,
location=baker.make_recipe("fellchensammlung.location"))
adoption2 = baker.make(AdoptionNotice, name="Vermittung2", organization=rescue2) adoption2 = baker.make(AdoptionNotice,
name="Vermittung2",
organization=rescue2,
location=baker.make_recipe("fellchensammlung.location"))
cat = baker.make(Species, name="Katze") cat = baker.make(Species, name="Katze")
rat = baker.make(Species, name="Farbratte") rat = baker.make(Species, name="Farbratte")