Expose some settings for Trainwreck DB rotation
This commit is contained in:
parent
d21826c70d
commit
9f763b46eb
2 changed files with 44 additions and 0 deletions
|
@ -384,6 +384,19 @@ class TransactionView(MasterView):
|
|||
'engines_data': engines_data,
|
||||
})
|
||||
|
||||
def configure_get_simple_settings(self):
|
||||
return [
|
||||
|
||||
# rotation
|
||||
{'section': 'trainwreck',
|
||||
'option': 'use_rotation',
|
||||
'type': bool},
|
||||
{'section': 'trainwreck',
|
||||
'option': 'current_years',
|
||||
'type': int},
|
||||
|
||||
]
|
||||
|
||||
def configure_get_context(self):
|
||||
context = super(TransactionView, self).configure_get_context()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue