-
Notifications
You must be signed in to change notification settings - Fork 95
/
urls.py
19 lines (17 loc) · 675 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django.urls import path
from .views import (
GetAppListJsonView,
GetGravatartUrlJsonView,
SummarizeView,
TranslateView,
GenerateImageView,
CorrectView,
)
urlpatterns = [
path("app-list-json/", GetAppListJsonView.as_view(), name="baton-app-list-json"),
path("gravatar/", GetGravatartUrlJsonView.as_view(), name="baton-gravatar-json"),
path("translate/", TranslateView.as_view(), name="baton-translate"),
path("summarize/", SummarizeView.as_view(), name="baton-summarize"),
path("generate-image/", GenerateImageView.as_view(), name="baton-generate-image"),
path("correct/", CorrectView.as_view(), name="baton-correct"),
]