mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
This commit is contained in:
parent
7b2f2e74ad
commit
2b281cc35e
180 changed files with 421 additions and 559 deletions
|
@ -1,13 +1,12 @@
|
|||
from django.apps.registry import Apps
|
||||
from django.db import models
|
||||
from django.utils import six
|
||||
|
||||
|
||||
class CustomModelBase(models.base.ModelBase):
|
||||
pass
|
||||
|
||||
|
||||
class ModelWithCustomBase(six.with_metaclass(CustomModelBase, models.Model)):
|
||||
class ModelWithCustomBase(models.Model, metaclass=CustomModelBase):
|
||||
pass
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue