Skip to content

OS Error: 2 no such file or directory ~/<djangoproj>/static on adding django-toolbar app #691

@SAnegondhi

Description

@SAnegondhi

#127.0.01:8000

Django Version: 1.7.3
Exception Type: OSError
Exception Value: [Errno 2] No such file or directory: '~/proj/lask/static'
Exception Location: ~/proj/env/local/lib/python2.7/site-packages/django/core/files/storage.py in listdir, line 270
Python Executable: ~/proj/env/bin/python
Python Version: 2.7.6


Settings:

DEBUG_TOOLBAR_PATCH_SETTINGS = False

INSTALLED_APPS = (
'authentication',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'debug_toolbar',
'lask',
'ui',
)


URLConf
if DEBUG:
import debug_toolbar
urlpatterns += patterns('',
url(r'^debug/', include(debug_toolbar.urls)),
)

If I set

DEBUG_TOOLBAR_PATCH_SETTINGS = True

The OS Error disappears but the debug tool bar does not come on.

If I uninstall toolbar then everything works fine,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions