Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

System check reported issues #515

Closed
botanicvelious opened this issue Feb 15, 2019 · 1 comment
Closed

System check reported issues #515

botanicvelious opened this issue Feb 15, 2019 · 1 comment

Comments

@botanicvelious
Copy link

botanicvelious commented Feb 15, 2019

Django CMS 3.6 with Django 2.1.7 reports warnings when running aldryn-newsblog

Environment

Python 3.6.8
django 2.1.7
django-cms 3.6
aldryn-newsblog 2.2.1

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'
@bplociennik
Copy link

Thanks for the sent issue. I prepared PR with changes to remove dollars from code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants