mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +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:
|
||||
model = BasicModel
|
||||
|
||||
|
||||
class PartialUpdateModel(RESTFrameworkModel):
|
||||
text = models.CharField(max_length=100)
|
||||
extra = models.CharField(max_length=100)
|
||||
|
|
Loading…
Reference in New Issue
Block a user