14 lines
336 B
Python
14 lines
336 B
Python
from django.urls import path
|
|
|
|
from .views import ArticleView, new_article, AuthenticationView
|
|
|
|
urlpatterns = [
|
|
path('articles/', ArticleView.as_view(), name='create-article'),
|
|
path('articles/new/', new_article, name='new-article'),
|
|
path(
|
|
'',
|
|
AuthenticationView.as_view(),
|
|
name='authenticate'
|
|
)
|
|
]
|