-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problem when using django check seo for django 3+ sites #51
Comments
I support, I also faced such a problem, me version Django 4.0.7 version.startswith("4") I corrected this point, but there is a problem here for module_name in sys.modules:
if (
"django_check_seo.checks_list." in module_name
and module_name not in python_2_compatibility_array
) or (module_name.startswith("checks_list.")):
module = importlib.import_module(module_name)
get_module_order = getattr(module, "importance")
# get the importance
modules_order.append([module, get_module_order()]) modules_order.append([module, get_module_order()]) The error I get
|
I fixed the |
@odi1n Hi, I can't replicate your problem, can I close the issue? |
Here's the problem:
https://github.com/kapt-labs/django-check-seo/blob/master/django_check_seo/urls.py#L11
maybe we should check
not version.startswith('1')
?The text was updated successfully, but these errors were encountered: