mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 06:21:58 +08:00
* Add stubs for remaining commands in django.core.management.commands * Tighten up stub definitions in django.core.management.commands * Apply some missing declarations in django.core.management.commands
10 lines
472 B
Python
10 lines
472 B
Python
from django.apps import apps as apps
|
|
from django.core.management.base import BaseCommand as BaseCommand, CommandError as CommandError
|
|
from django.db import DEFAULT_DB_ALIAS as DEFAULT_DB_ALIAS, connections as connections
|
|
from django.db.migrations.loader import AmbiguityError as AmbiguityError, MigrationLoader as MigrationLoader
|
|
from typing import Any
|
|
|
|
class Command(BaseCommand):
|
|
output_transaction: bool = ...
|
|
def execute(self, *args: Any, **options: Any): ...
|