blog

Fix bug with URL handling for archive

Author
Maarten Vangeneugden
Date
Feb. 11, 2019, 9:20 p.m.
Hash
85218167e203c1e4c2e317d9a0d2fb995d5f1fbb
Parent
eec599b6b898310c1d6083ab3479a635ccec5413
Modified file
urls.py

urls.py

1 addition and 1 deletion.

View changes Hide changes
1
1
2
2
from . import views # Imports the views from the same directory (which is views.py).
3
3
4
4
urlpatterns = [
5
5
    url(r'^$', views.index, name='blog-index'),
6
6
    url(r'^feed.rss$', views.rss, name='blog-feed'),
7
7
    url(r'^(?P<language>(.){2})/(?P<post_slug>(.)+)$', views.post, name='blog-post-language'),
8
8
    url(r'^(?P<post_slug>(.)+)$', views.post, name='blog-post'),
9
-
    url(r'^weekly-archive$', views.weekly_archive, name="weekly-archive"),
10
9
        ]
+
10
        ]
11
11