def setUp(self): region = Region(name="Dotland", sort_order=1, slug="dotland") region.save() location = Location(name="Dottown", sort_order=1, slug="dottown", region=region) location.save() location = Location(name="Ice Mountain", sort_order=2, slug="icemountain", region=region) location.save()
def setUp(self): region = Region(name="Dotland", sort_order=1, slug="dotland") region.save() region = Region(name="Happyface Land", sort_order=2, slug="happyfaceland") region.save()