Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLPattern #1

Closed
infosrabah opened this issue Aug 9, 2018 · 3 comments
Closed

URLPattern #1

infosrabah opened this issue Aug 9, 2018 · 3 comments

Comments

@infosrabah
Copy link

infosrabah commented Aug 9, 2018

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.

Any idea ???

Thank you

@dimkoug
Copy link
Owner

dimkoug commented Aug 9, 2018

try this link http://127.0.0.1:8000/todo/

@infosrabah
Copy link
Author

infosrabah commented Aug 9, 2018

I got It everthing is OK thank you dimkoug.

I got your e-mail, do you mind if I can ask you some questions related to this project in your e-mail ? I'm stuck. Please

@dimkoug
Copy link
Owner

dimkoug commented Aug 9, 2018

if you have an issue with the project open a new issue

@dimkoug dimkoug closed this as completed Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants