fix: management command runner expects classes named "Command"
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
a197422f6a
commit
89a79f45ff
|
@ -19,7 +19,7 @@ from django.conf import settings
|
|||
from accounts.models import AccountConfirmChallenge
|
||||
|
||||
|
||||
class CleanUnverifiedUsersCommand(BaseCommand):
|
||||
class Command(BaseCommand):
|
||||
help = "Deletes unverified users after the period specified in settings.py"
|
||||
|
||||
def handle(self, *args, **options):
|
||||
|
|
|
@ -23,7 +23,9 @@ from django.contrib.auth import authenticate
|
|||
from django.conf import settings
|
||||
|
||||
from .models import AccountConfirmChallenge
|
||||
from .management.commands.rm_unverified_users import CleanUnverifiedUsersCommand
|
||||
from .management.commands.rm_unverified_users import (
|
||||
Command as CleanUnverifiedUsersCommand,
|
||||
)
|
||||
|
||||
|
||||
class LoginTest(TestCase):
|
||||
|
|
Loading…
Reference in New Issue