diff --git a/django-stubs/contrib/admin/models.pyi b/django-stubs/contrib/admin/models.pyi index 071ed2d..9796299 100644 --- a/django-stubs/contrib/admin/models.pyi +++ b/django-stubs/contrib/admin/models.pyi @@ -39,11 +39,6 @@ class LogEntry(models.Model): action_flag: int = ... change_message: str = ... objects: Any = ... - class Meta: - verbose_name: Any = ... - verbose_name_plural: Any = ... - db_table: str = ... - ordering: Any = ... def is_addition(self) -> bool: ... def is_change(self) -> bool: ... def is_deletion(self) -> bool: ... diff --git a/django-stubs/contrib/auth/forms.pyi b/django-stubs/contrib/auth/forms.pyi index 90487bd..ace768b 100644 --- a/django-stubs/contrib/auth/forms.pyi +++ b/django-stubs/contrib/auth/forms.pyi @@ -42,10 +42,6 @@ class UserCreationForm(forms.ModelForm): error_messages: Any = ... password1: Any = ... password2: Any = ... - class Meta: - model: Any = ... - fields: Any = ... - field_classes: Any = ... def __init__(self, *args: Any, **kwargs: Any) -> None: ... def clean_password2(self) -> str: ... def save(self, commit: bool = ...) -> User: ... @@ -62,10 +58,6 @@ class UserChangeForm(forms.ModelForm): is_bound: bool label_suffix: str password: Any = ... - class Meta: - model: Any = ... - fields: str = ... - field_classes: Any = ... def __init__(self, *args: Any, **kwargs: Any) -> None: ... def clean_password(self) -> str: ... diff --git a/django-stubs/contrib/contenttypes/models.pyi b/django-stubs/contrib/contenttypes/models.pyi index 2776ad4..5cf718e 100644 --- a/django-stubs/contrib/contenttypes/models.pyi +++ b/django-stubs/contrib/contenttypes/models.pyi @@ -21,11 +21,6 @@ class ContentType(models.Model): app_label: str = ... model: str = ... objects: Any = ... - class Meta: - verbose_name: Any = ... - verbose_name_plural: Any = ... - db_table: str = ... - unique_together: Any = ... @property def name(self) -> str: ... def model_class(self) -> Optional[Type[Model]]: ... diff --git a/django-stubs/contrib/flatpages/forms.pyi b/django-stubs/contrib/flatpages/forms.pyi index 66ff36f..e5c778f 100644 --- a/django-stubs/contrib/flatpages/forms.pyi +++ b/django-stubs/contrib/flatpages/forms.pyi @@ -15,8 +15,5 @@ class FlatpageForm(forms.ModelForm): is_bound: bool label_suffix: str url: Any = ... - class Meta: - model: Any = ... - fields: str = ... def clean_url(self) -> str: ... def clean(self) -> Dict[str, Union[bool, QuerySet, str]]: ... diff --git a/django-stubs/contrib/flatpages/models.pyi b/django-stubs/contrib/flatpages/models.pyi index 1455ae2..dc2b386 100644 --- a/django-stubs/contrib/flatpages/models.pyi +++ b/django-stubs/contrib/flatpages/models.pyi @@ -11,9 +11,4 @@ class FlatPage(models.Model): template_name: str = ... registration_required: bool = ... sites: Any = ... - class Meta: - db_table: str = ... - verbose_name: Any = ... - verbose_name_plural: Any = ... - ordering: Any = ... def get_absolute_url(self) -> str: ... diff --git a/django-stubs/contrib/redirects/models.pyi b/django-stubs/contrib/redirects/models.pyi index 5ce5789..3abdd40 100644 --- a/django-stubs/contrib/redirects/models.pyi +++ b/django-stubs/contrib/redirects/models.pyi @@ -7,10 +7,4 @@ class Redirect(models.Model): site_id: int site: Any = ... old_path: str = ... - new_path: str = ... - class Meta: - verbose_name: Any = ... - verbose_name_plural: Any = ... - db_table: str = ... - unique_together: Any = ... - ordering: Any = ... + new_path: str = ... \ No newline at end of file diff --git a/django-stubs/contrib/sessions/base_session.pyi b/django-stubs/contrib/sessions/base_session.pyi index 718caa4..c587fa9 100644 --- a/django-stubs/contrib/sessions/base_session.pyi +++ b/django-stubs/contrib/sessions/base_session.pyi @@ -15,10 +15,6 @@ class AbstractBaseSession(models.Model): session_data: Any = ... expire_date: Any = ... objects: Any = ... - class Meta: - abstract: bool = ... - verbose_name: Any = ... - verbose_name_plural: Any = ... @classmethod def get_session_store_class(cls) -> None: ... def get_decoded(self) -> Dict[str, int]: ... diff --git a/django-stubs/contrib/sessions/models.pyi b/django-stubs/contrib/sessions/models.pyi index bac564d..581141d 100644 --- a/django-stubs/contrib/sessions/models.pyi +++ b/django-stubs/contrib/sessions/models.pyi @@ -16,5 +16,3 @@ class Session(AbstractBaseSession): objects: Any = ... @classmethod def get_session_store_class(cls) -> Type[SessionStore]: ... - class Meta(AbstractBaseSession.Meta): - db_table: str = ... diff --git a/django-stubs/contrib/sites/models.pyi b/django-stubs/contrib/sites/models.pyi index 070b49b..d8d224f 100644 --- a/django-stubs/contrib/sites/models.pyi +++ b/django-stubs/contrib/sites/models.pyi @@ -20,11 +20,6 @@ class Site(models.Model): domain: str = ... name: str = ... objects: Any = ... - class Meta: - db_table: str = ... - verbose_name: Any = ... - verbose_name_plural: Any = ... - ordering: Any = ... def natural_key(self) -> Tuple[str]: ... def clear_site_cache(sender: Type[Site], **kwargs: Any) -> None: ... diff --git a/django-stubs/db/migrations/recorder.pyi b/django-stubs/db/migrations/recorder.pyi index 99ac579..8386b03 100644 --- a/django-stubs/db/migrations/recorder.pyi +++ b/django-stubs/db/migrations/recorder.pyi @@ -9,10 +9,6 @@ class MigrationRecorder: app: Any = ... name: Any = ... applied: Any = ... - class Meta: - apps: Any = ... - app_label: str = ... - db_table: str = ... connection: Optional[BaseDatabaseWrapper] = ... def __init__(self, connection: Optional[BaseDatabaseWrapper]) -> None: ... @property