feat: Add rules
This commit is contained in:
@@ -29,6 +29,11 @@ class Command(BaseCommand):
|
||||
rat2 = baker.make(Animal, name="Rat2", adoption_notice=adoption1, species=rat)
|
||||
cat1 = baker.make(Animal, name="Cat1", adoption_notice=adoption2, species=cat)
|
||||
|
||||
rule1 = baker.make(Rule, title="Be excellent ot each other", rule_text="This is **markdown**")
|
||||
rule2 = baker.make(Rule,
|
||||
title="Keep al least the minimum number of animals for species",
|
||||
rule_text="This is not markdown")
|
||||
|
||||
User.objects.create_user('test', password='foobar')
|
||||
User.objects.create_superuser(username="admin", password="admin")
|
||||
|
||||
|
Reference in New Issue
Block a user