mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 09:37:03 +02:00
Fixtures for approved domains
This commit is contained in:
parent
ab1eb0ead1
commit
96b95bae8a
2 changed files with 25 additions and 1 deletions
|
@ -3,7 +3,7 @@ import logging
|
|||
from django.core.management.base import BaseCommand
|
||||
from auditlog.context import disable_auditlog # type: ignore
|
||||
|
||||
from registrar.fixtures import UserFixture, DomainApplicationFixture
|
||||
from registrar.fixtures import UserFixture, DomainApplicationFixture, DomainFixture
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -15,4 +15,5 @@ class Command(BaseCommand):
|
|||
with disable_auditlog():
|
||||
UserFixture.load()
|
||||
DomainApplicationFixture.load()
|
||||
DomainFixture.load()
|
||||
logger.info("All fixtures loaded.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue