#249 Created as modified
* fills modified attribute on new entries with created value automatically * adds default ordering by last modified on table overviews
This commit is contained in:
@@ -41,6 +41,8 @@ def index_view(request: HttpRequest):
|
||||
template = "generic_index.html"
|
||||
eco_accounts = EcoAccount.objects.filter(
|
||||
deleted=None,
|
||||
).order_by(
|
||||
"-modified__timestamp"
|
||||
)
|
||||
table = EcoAccountTable(
|
||||
request=request,
|
||||
|
||||
Reference in New Issue
Block a user