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:
@@ -38,6 +38,11 @@ class Payment(BaseResource):
|
||||
related_name='payments'
|
||||
)
|
||||
|
||||
class Meta:
|
||||
ordering = [
|
||||
"-amount",
|
||||
]
|
||||
|
||||
|
||||
class CompensationState(UuidModel):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user