source: remit/settings/local.dev-template.py @ 32b9b17

Last change on this file since 32b9b17 was 32b9b17, checked in by Alex Dehnert <adehnert@…>, 11 years ago

Improve install docs and script dev installs

  • Property mode set to 100644
File size: 789 bytes
Line 
1import os
2
3_site_root = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
4
5DATABASES = {
6    'default' : {
7        'ENGINE' : 'django.db.backends.sqlite3',
8        'NAME' : os.path.join(_site_root, 'db.sqlite'),
9    },
10}
11
12SITE_URL_BASE = "http://localhost:8006" # you may wish to change the port
13
14# Mail sending
15# See https://docs.djangoproject.com/en/dev/topics/email/#email-backends
16
17# Display intermixed with the error messages
18EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
19
20# Make this unique, and don't share it with anybody.
21#SECRET_KEY = something
22# Generate the "something" with:
23# import random; ''.join([random.choice('abcdefghijklmnopqrstuvwxyz0123456789@#%&-_=+') for i in range(50)])
24
25SESSION_COOKIE_SECURE = False
26
27DEBUG = False
28DEBUG = True
Note: See TracBrowser for help on using the repository browser.