Skip to content

Instantly share code, notes, and snippets.

@aballah-chamakh
Created December 10, 2019 17:00
Show Gist options
  • Save aballah-chamakh/57ae89b7600fc464da2babfe54ef7712 to your computer and use it in GitHub Desktop.
Save aballah-chamakh/57ae89b7600fc464da2babfe54ef7712 to your computer and use it in GitHub Desktop.
from django.urls import path
from .views import (SentimentAnalysisInferenceListApiView,
SentimentAnalysisInferenceCreateApiView,
SentimentAnalysisInferenceUpdateApiView
SentimentAnalysisInferenceDetailApiView,
SentimentAnalysisInferenceDeleteApiView,
)
urlpatterns = [
path('sa_inferences', SentimentAnalysisInferenceListApiView.as_view()),
path('make_sa_inference', SentimentAnalysisInferenceCreateApiView.as_view()),
path('sa_inference/<int:pk>/', SentimentAnalysisInferenceCreateApiView.as_view()),
path('sa_inference/<int:pk>/update', SentimentAnalysisInferenceCreateApiView.as_view(),
path('sa_inference/<int:pk>/delete', SentimentAnalysisInferenceCreateApiView.as_view()),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment