mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
BaseFilter test requires a concrete model
This commit is contained in:
parent
0ab1aeb9ab
commit
b5931940e1
|
@ -27,9 +27,6 @@ class BasicModel(RESTFrameworkModel):
|
||||||
class BaseFilterableItem(RESTFrameworkModel):
|
class BaseFilterableItem(RESTFrameworkModel):
|
||||||
text = models.CharField(max_length=100)
|
text = models.CharField(max_length=100)
|
||||||
|
|
||||||
class Meta:
|
|
||||||
abstract = True
|
|
||||||
|
|
||||||
|
|
||||||
class FilterableItem(BaseFilterableItem):
|
class FilterableItem(BaseFilterableItem):
|
||||||
decimal = models.DecimalField(max_digits=4, decimal_places=2)
|
decimal = models.DecimalField(max_digits=4, decimal_places=2)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user