Disable last backup
This commit is contained in:
parent
d190b7c2f7
commit
a5ef28a0f8
|
@ -9,7 +9,7 @@ from ..utility.time import last_day_previous_months
|
||||||
def repo_json(request, repo_label):
|
def repo_json(request, repo_label):
|
||||||
repo = get_object_or_404(Repo, label__label=repo_label)
|
repo = get_object_or_404(Repo, label__label=repo_label)
|
||||||
repo_dict = {'location': repo.location,
|
repo_dict = {'location': repo.location,
|
||||||
'latest_backup': repo.last_backup(),
|
'latest_backup': "repo.last_backup()",
|
||||||
'size': repo.size_string(),
|
'size': repo.size_string(),
|
||||||
'recent_errors': "not implemented",
|
'recent_errors': "not implemented",
|
||||||
'warning': repo.warning(),
|
'warning': repo.warning(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user