mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
This commit is contained in:
@@ -17,7 +17,6 @@ from django.forms.models import (
|
||||
)
|
||||
from django.template import Context, Template
|
||||
from django.test import SimpleTestCase, TestCase, skipUnlessDBFeature
|
||||
from django.utils import six
|
||||
from django.utils._os import upath
|
||||
|
||||
from .models import (
|
||||
@@ -2954,7 +2953,7 @@ class CustomMetaclass(ModelFormMetaclass):
|
||||
return new
|
||||
|
||||
|
||||
class CustomMetaclassForm(six.with_metaclass(CustomMetaclass, forms.ModelForm)):
|
||||
class CustomMetaclassForm(forms.ModelForm, metaclass=CustomMetaclass):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user