When compilling a URL pattern warning is up, here's the outuput after a python3 manage.py runserver :
[<URLPattern '' [name='todo-list']>, <URLPattern 'todo/todo/' [name='todo-todo-list']>, <URLPattern 'todo/todo/<int:pk>/detail/' [name='todo-todo-detail']>, <URLPattern 'todo/todo/add/' [name='todo-todo-create']>, <URLPattern 'todo/todo/<int:pk>/' [name='todo-todo-update']>, <URLPattern 'todo/todo/<int:pk>/delete/$' [name='todo-todo-delete']>]
System check identified some issues:
WARNINGS:
?: (2_0.W001) Your URL pattern 'todo/todo/<int:pk>/delete/$' [name='todo-todo-delete'] has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().
System check identified 1 issue (0 silenced).
August 09, 2018 - 12:01:09
Django version 2.2.dev20180702223926, using settings 'tododjangoccbv.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.