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.
13 lines
336 B
13 lines
336 B
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' |
|
) |
|
]
|
|
|