'djdt' is not a registered namespace
See original GitHub issueHi, its my 3 try of debugtoolbar and… 3 times fail
First if couldnt get it shown. 2 years later same, this time i get errors :
NoReverseMatch at / ‘djdt’ is not a registered namespace
I did everything in settings and URLS as i should
problem is in line 14:
13 <div id="djDebug" class="djdt-hidden" dir="ltr"
14 data-store-id="{{ toolbar.store_id }}" data-render-panel-url="{% url 'djdt:render_panel' %}"
15 {{ toolbar.config.ROOT_TAG_EXTRA_ATTRS|safe }}>
django version 1.9 1.10, 1.10.04 debug panel 1.6 from PIP3
settings:
INSTALLED_APPS [‘django.contrib.admin’, ‘django.contrib.auth’, ‘django.contrib.contenttypes’, ‘django.contrib.sites’, ‘django.contrib.sessions’, ‘django.contrib.messages’, ‘django.contrib.staticfiles’, ‘django_hosts’, ‘ckeditor’, ‘django_user_agents’, ‘debug_toolbar’, ‘apps.core’, ‘apps.blog’]
INTERNAL_IPS
(‘127.0.0.1’, ‘192.168.1.41’)
MIDDLEWARE_CLASSES (‘django_hosts.middleware.HostsRequestMiddleware’, ‘debug_toolbar.middleware.DebugToolbarMiddleware’, ‘django.contrib.sessions.middleware.SessionMiddleware’, ‘django.contrib.auth.middleware.AuthenticationMiddleware’, ‘django.contrib.messages.middleware.MessageMiddleware’, ‘django.middleware.clickjacking.XFrameOptionsMiddleware’, ‘django.middleware.common.CommonMiddleware’, ‘django.middleware.csrf.CsrfViewMiddleware’, ‘django.middleware.locale.LocaleMiddleware’, ‘django_hosts.middleware.HostsResponseMiddleware’, ‘django_user_agents.middleware.UserAgentMiddleware’)
DEBUG is set to TRUE
Please… help… its frustrating i cannot use one of best tools for debuging for 3 years…
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)
Top Related StackOverflow Question
Thanks for your prompt response.
Actually, I got the same error but for a different reason. It was caused by the debug-toolbar url route that I’ve pasted inside my app’s url.py, instead of putting it inside the project’s url.py
On 25 Mar 2017 12:03 pm, “NomadDemon” notifications@github.com wrote:
Most likely this error means you didn’t configure the URLs correctly.