Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

GSoC 2019 - Routing issues #25

Closed
botanicvelious opened this issue Feb 15, 2019 · 3 comments
Closed

GSoC 2019 - Routing issues #25

botanicvelious opened this issue Feb 15, 2019 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers and GSoC students

Comments

@botanicvelious
Copy link
Collaborator

botanicvelious commented Feb 15, 2019

When running runserver it complains...

Performing system checks...

System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^blog/$' [name='article-list'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<slug>\w[-\w]*)/$' [name='article-detail'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/$' [name='article-list-by-year'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/$' [name='article-list-by-month'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/$' [name='article-list-by-day'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<pk>\d+)/$' [name='article-detail'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<slug>\w[-\w]*)/$' [name='article-detail'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<slug>\w[-\w]*)/$' [name='article-detail'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/(?P<year>\d{4})/(?P<slug>\w[-\w]*)/$' [name='article-detail'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/author/(?P<author>\w[-\w]*)/$' [name='article-list-by-author'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/category/(?P<category>\w[-\w]*)/$' [name='article-list-by-category'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/category/(?P<category>\w[-\w]*)/feed/$' [name='article-list-by-category-feed'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/feed/$' [name='article-list-feed'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/search/$' [name='article-search'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/tag/(?P<tag>\w[-\w]*)/$' [name='article-list-by-tag'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
?: (urls.W001) Your URL pattern '^blog/tag/(?P<tag>\w[-\w]*)/feed/$' [name='article-list-by-tag-feed'] uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.

System check identified 16 issues (0 silenced).
February 14, 2019 - 23:58:19
Django version 2.1.7, using settings 'gsoc.settings'
@botanicvelious botanicvelious added bug Something isn't working good first issue Good for newcomers and GSoC students labels Feb 15, 2019
@sounak98
Copy link
Contributor

@botanicvelious these routes are generated by aldryn-newsblog. Recent versions of django has added some checks for the urls and these urls fail these checks. So clearly the update caused this.

@botanicvelious
Copy link
Collaborator Author

I reported it as issue #515 on their side. If anyone wants to fix it for them go for it!

@botanicvelious botanicvelious added enhancement New feature or request and removed bug Something isn't working labels Feb 15, 2019
@botanicvelious botanicvelious changed the title Routing issues GSoC 2019 - Routing issues Feb 19, 2019
@botanicvelious
Copy link
Collaborator Author

Fixed upstream

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers and GSoC students
Projects
None yet
Development

No branches or pull requests

2 participants