added manual refresh functionality, fixed mistake with meaning of File directory field (foreign key not path)

This commit is contained in:
Xevion
2020-10-31 20:59:00 -05:00
parent fbd623c0f2
commit d565e82c50
5 changed files with 46 additions and 17 deletions

View File

@@ -7,5 +7,6 @@ urlpatterns = [
path('add/', views.add, name='add'),
path('add/submit', views.submit_new, name='add_submit'),
path('<uuid:directory_id>/', views.browse, name='browse'),
path('<uuid:directory_id>/<str:file>/', views.file, name='file')
path('<uuid:directory_id>/<str:file>/', views.file, name='file'),
path('<uuid:directory_id>/refresh', views.refresh, name='refresh')
]