Created
March 28, 2020 16:00
-
-
Save RoySegall/8340d76bcf57fe51a95ce290cc690f49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.urls import path | |
from . import views | |
urlpatterns = [ | |
path('articles/2003/', views.special_case_2003), | |
path('articles/<int:year>/', views.year_archive), | |
path('articles/<int:year>/<int:month>/', views.month_archive), | |
path('articles/<int:year>/<int:month>/<slug:slug>/', views.article_detail), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment