Roger Reyes
unread,Jan 16, 2024, 1:47:19 AMJan 16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-mptt-dev
Hello how are you? I am creating an Ecommerce and I am using Django-MPTT for the hierarchy in my model for the categories, I am also using pytest, and when I try to run the tests I get this error:
django.core.exceptions.ImproperlyConfigured: Requested setting MPTT_DEFAULT_LEVEL_INDICATOR, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
I made sure that all the settings in my settings were correct, but the error still persists. Has anyone had something similar happen to them?