mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Tests: - Enable/disable button is not shown. - Diagnostics menu item is shown and works. - Both Configure and manage snapshots tabs are shown. - Changing configuration works, updated configuration is shown. - Deleting some snapshots works. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
18 lines
514 B
Python
18 lines
514 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
URLs for the snapshot module.
|
|
"""
|
|
|
|
from django.urls import re_path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
re_path(r'^sys/snapshot/$', views.SnapshotAppView.as_view(), name='index'),
|
|
re_path(r'^sys/snapshot/manage/$', views.manage, name='manage'),
|
|
re_path(r'^sys/snapshot/selected/delete$', views.delete_selected,
|
|
name='delete-selected'),
|
|
re_path(r'^sys/snapshot/(?P<number>\d+)/rollback$', views.rollback,
|
|
name='rollback'),
|
|
]
|