[Django]-Cannot import name 're_path' I am using django version 2.0.6

8👍

You are importing the wrong path in blogs/urls.py.

from django.db import re_path

Should instead be:

from django.urls import re_path

Leave a comment