Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. """
  2. This is an example-file of the local settings. These settings only apply to
  3. your own installation on this specific computer/server.
  4.  
  5. Make a copy of this file, call it "local_settings_dev.py" and modify it to
  6. override and append to the standard settings.
  7. """
  8. DEBUG = True
  9.  
  10. # Override development database settings here
  11. # from os import path
  12. # PROJECT_DIR = path.abspath(__file__ + "/../../")
  13. # DATABASES = {
  14. # 'default': {
  15. # 'ENGINE': 'django.db.backends.sqlite3',
  16. # 'NAME': path.join(PROJECT_DIR, 'dev.db')
  17. # }
  18. # }
  19.  
  20. # Uncomment to enable debug_toolbar
  21. #DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS': False}
  22. INTERNAL_IPS = ('127.0.0.1',)
  23.  
  24. MIDDLEWARE_CLASSES_LOCAL = (
  25. # 'debug_toolbar.middleware.DebugToolbarMiddleware',
  26. )
  27.  
  28. INSTALLED_APPS_LOCAL = (
  29. # 'debug_toolbar',
  30. # 'django_extensions',
  31. )
  32.  
  33. SECRET_KEY = '18730s9n9sjxamsuJSismxOIAmso102xjAs'
  34.  
  35. # 'django_extensions' provides runserver_plus with an interactive AJAX terminal
  36. # (http://code.google.com/p/django-command-extensions/wiki/RunServerPlus),
  37. # shell_plus (which is the normal manage shell with all models autoloaded), and
  38. # lots more. Not included in django installation, see
  39. # http://code.google.com/p/django-command-extensions/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement