23 lines
707 B
Python
23 lines
707 B
Python
"""
|
|
URL configuration for shared spaces (*.rfiles.online subdomains).
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
from portal.views_shared_space import (
|
|
SharedSpaceHomeView,
|
|
SharedSpaceLoginView,
|
|
SharedSpaceLogoutView,
|
|
SharedSpaceUploadAPIView,
|
|
SharedSpaceFileListView,
|
|
)
|
|
|
|
|
|
urlpatterns = [
|
|
path('', SharedSpaceHomeView.as_view(), name='shared_space_home'),
|
|
path('login/', SharedSpaceLoginView.as_view(), name='shared_space_login'),
|
|
path('logout/', SharedSpaceLogoutView.as_view(), name='shared_space_logout'),
|
|
path('api/upload/', SharedSpaceUploadAPIView.as_view(), name='shared_space_upload'),
|
|
path('files/', SharedSpaceFileListView.as_view(), name='shared_space_files'),
|
|
]
|