mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Update models.py
Flake8
This commit is contained in:
parent
4ca0f00f49
commit
e050c8fffe
|
@ -185,6 +185,7 @@ class BasicModelSerializer(serializers.ModelSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = BasicModel
|
model = BasicModel
|
||||||
|
|
||||||
|
|
||||||
class PartialUpdateModel(RESTFrameworkModel):
|
class PartialUpdateModel(RESTFrameworkModel):
|
||||||
text = models.CharField(max_length=100)
|
text = models.CharField(max_length=100)
|
||||||
extra = models.CharField(max_length=100)
|
extra = models.CharField(max_length=100)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user