Changeset 7fb28a0 for remit/settings


Ignore:
Timestamp:
Jul 5, 2014, 8:32:51 PM (12 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master
Children:
cabf7ac
Parents:
d604f81 (diff), e24d22f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Alex Dehnert <adehnert@…> (07/05/14 20:29:08)
git-committer:
Alex Dehnert <adehnert@…> (07/05/14 20:32:51)
Message:

Make development easier

  • simple install instructions for a dev install
  • support virtualenv
  • add script for setting up a dev install
    • settings, including SECRET_KEY
    • DB sync
    • creation of an account structure for a semi-plausible group
    • BudgetTerm? creation
  • Support the newest released Django (1.6)
Location:
remit/settings
Files:
2 added
1 moved

Legend:

Unmodified
Added
Removed
  • remit/settings/__init__.py

    rf5bebab r32b9b17  
    33import sys
    44
    5 SITE_ROOT = os.path.normpath(os.path.dirname(__file__))
     5SITE_ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
    66SITE_WEB_PATH = ''
    77DEFAULT_DOMAIN = 'mit.edu'
     
    99DEBUG = False
    1010TEMPLATE_DEBUG = DEBUG
     11
     12ATOMIC_REQUESTS = True
    1113
    1214ADMINS = (
     
    5355USE_I18N = True
    5456
    55 from local_settings import *
     57# Required settings
     58# SITE_URL_BASE: used to construct absolute URLs for use in emails
     59
     60from local import *
    5661
    5762# Absolute path to the directory that holds media.
     
    8590    'django.contrib.sessions.middleware.SessionMiddleware',
    8691    'django.contrib.auth.middleware.AuthenticationMiddleware',
    87     'django.middleware.transaction.TransactionMiddleware',
    8892    'django.middleware.csrf.CsrfViewMiddleware',
    8993    'django.contrib.messages.middleware.MessageMiddleware',
     
    116120    'django.contrib.sessions',
    117121    'django.contrib.sites',
     122    'django.contrib.staticfiles',
    118123    'treebeard',
    119124    'south',
     
    126131USER_EMAIL_SIGNATURE = "%s Treasury" % (GROUP_NAME,)
    127132
    128 from local_settings_after import *
     133from local_after import *
Note: See TracChangeset for help on using the changeset viewer.