-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
'djdt' is not a registered namespace #911
Comments
Most likely this error means you didn't configure the URLs correctly. |
_CFG.DEBUG = True
|
Help.. please? :( |
Looks good (I think). Maybe you could try showing us the whole URLconf file? Does |
yes, it was part of root urls
cfg is just additional config file i use in project. It contains only constant values |
@NomadDemon Any progress with this issue? |
Yes i figgured it out. Then was problem with no toolbar visible. The 2nd part might be useful for other users. |
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" ***@***.***> wrote:
*Yes i figgured it out.*
First i had some issues with configs, always prod config was used with
DEBUG = False. - fixed
*Then was problem with no toolbar visible.*
When using gunicorn with SOCK option instead of HTTP, no remote_addr is
passing. Had to manually used my own "validator for debugging user"
The 2nd part might be useful for other users.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#911 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AECBuNt3Zeul4JCyIhkb74hoRCbnCs80ks5rpQKggaJpZM4Lwdtd>
.
|
Thanks. I think this issue can be closed then. Good to hear debug toolbar works for both of you now! |
Hi, 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 :
I did everything in settings and URLS as i should
problem is in line 14:
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...
The text was updated successfully, but these errors were encountered: