mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
parent
6072de727f
commit
967be82443
114 changed files with 360 additions and 0 deletions
|
@ -16,6 +16,7 @@ class CustomBaseModel(models.base.ModelBase):
|
|||
class MyModel(six.with_metaclass(CustomBaseModel, models.Model)):
|
||||
"""Model subclass with a custom base using six.with_metaclass."""
|
||||
|
||||
|
||||
# This is done to ensure that for Python2 only, defining metaclasses
|
||||
# still does not fail to create the model.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue