Answer the question
In order to leave comments, you need to log in
Migrations not working in Django?
An error occurs when running migrations in Django. I do not know what to do! Reinstalled everything. Error code on pastebin - *click*
Answer the question
In order to leave comments, you need to log in
You have imports in the code for the old version of Django.
And most likely version 2.2 is installed.
It urls.py
looks like this:
from django.urls import path
from . import views
urlpatterns = [
path('articles/2019/', views.special_case_2019),
# ...
]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question