from django.urls import path from . import views urlpatterns = [ path('post/', views.post_article, name='post'), path('post/classes', views.get_article_classes, name='classes'), path('post/tags', views.get_article_tags, name='tags'), path('post/save', views.save_draft, name='save'), ]