Guest User

Untitled

a guest
Jun 20th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #
  2. # You can put any custom options you would normally want in settings.py into
  3. # this file. If you want to add middleware or applications, precede a setting
  4. # name with "EXTRA_".
  5.  
  6. # Use a local PostgreSQL database.
  7. DATABASE_ENGINE = 'postgresql_psycopg2'
  8. DATABASE_NAME = ''
  9. DATABASE_USER = ''
  10. DATABASE_PASSWORD = ''
  11. DATABASE_HOST = ''
  12. DATABASE_PORT = '5432'
  13.  
  14. # Required for Django Debug Toolbar and other things.
  15. INTERNAL_IPS = ('127.0.0.1',)
  16.  
  17. # Add Django Debug Toolbar application. (It's cool.)
  18. EXTRA_MIDDLEWARE_CLASSES = (
  19. 'debug_toolbar.middleware.DebugToolbarMiddleware',
  20. )
  21.  
  22. EXTRA_INSTALLED_APPS = (
  23. 'debug_toolbar',
  24. )
  25.  
  26. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Add Comment
Please, Sign In to add comment