You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from django.urls import path
|
|
|
|
from .views import ArticleView, new_article, AuthenticationView, plannedView, articleDelete
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('articles/', ArticleView.as_view(), name='create-article'),
|
|
|
|
path('articles/new/', new_article, name='new-article'),
|
|
|
|
path(
|
|
|
|
'',
|
|
|
|
AuthenticationView.as_view(),
|
|
|
|
name='authenticate'
|
|
|
|
),
|
|
|
|
path('articles/planned/', plannedView, name='planned'),
|
|
|
|
path('articles/article_delete/<int:id>/', articleDelete, name='article_delete'),
|
|
|
|
]
|