ping
This commit is contained in:
parent
73d1d3f957
commit
9e0919466c
@ -9,5 +9,6 @@ urlpatterns = [
|
|||||||
path(*SelectProject.as_path()),
|
path(*SelectProject.as_path()),
|
||||||
path(*ProfileView.as_path()),
|
path(*ProfileView.as_path()),
|
||||||
path(*ProfilePhoto.as_path()),
|
path(*ProfilePhoto.as_path()),
|
||||||
path(*LogoutView.as_path())
|
path(*LogoutView.as_path()),
|
||||||
|
path(*PingView.as_path())
|
||||||
]
|
]
|
||||||
|
@ -4,3 +4,4 @@ from .select_project import SelectProject
|
|||||||
from .profile import ProfileView
|
from .profile import ProfileView
|
||||||
from .profile_photo import ProfilePhoto
|
from .profile_photo import ProfilePhoto
|
||||||
from .logout import LogoutView
|
from .logout import LogoutView
|
||||||
|
from .ping import PingView
|
8
web/views/ping.py
Normal file
8
web/views/ping.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
from BaseLib.BaseView import BaseView
|
||||||
|
|
||||||
|
|
||||||
|
class PingView(BaseView):
|
||||||
|
endpoint = 'ping'
|
||||||
|
|
||||||
|
def get(self):
|
||||||
|
return {}
|
Loading…
Reference in New Issue
Block a user