Compensation app url reorganizing

* restructures urls into separate xy_urls files which are included inside of compensation/urls.py
* adds default ordering of Payment by .amount
This commit is contained in:
mipel
2021-08-24 15:55:06 +02:00
parent 24a6b7fd37
commit d33cf5ad4e
5 changed files with 89 additions and 59 deletions
+5
View File
@@ -38,6 +38,11 @@ class Payment(BaseResource):
related_name='payments'
)
class Meta:
ordering = [
"-amount",
]
class CompensationState(UuidModel):
"""