Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Aug 11th, 2018 61 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. django sudo runserver kicking up an error
  2. Traceback (most recent call last):
  3.   File "./manage.py", line 9, in <module>
  4.     execute_from_command_line(sys.argv)
  5.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
  6.     utility.execute()
  7.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 379, in execute
  8.     self.fetch_command(subcommand).run_from_argv(self.argv)
  9.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 252, in fetch_command
  10.     app_name = get_commands()[subcommand]
  11.   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 101, in get_commands
  12.     apps = settings.INSTALLED_APPS
  13.   File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 276, in __getattr__
  14.     self._setup()
  15.   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup
  16.     self._wrapped = Settings(settings_module)
  17.   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 139, in __init__
  18.     logging_config_func(self.LOGGING)
  19.   File "/usr/lib/python2.7/logging/config.py", line 776, in dictConfig
  20.     dictConfigClass(config).configure()
  21.   File "/usr/lib/python2.7/logging/config.py", line 562, in configure
  22.     'filter %r: %s' % (name, e))
  23. ValueError: Unable to configure filter 'require_debug_false': Cannot resolve 'django.utils.log.RequireDebugFalse': No module named RequireDebugFalse
  24.    
  25. $ sudo /home/USER/.virtualenvs/YOUR_PROJECT/bin/python manage.py runserver
  26.    
  27. $ which python
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top