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
Source:stackexchange.com