1 |
# Enable actionlog application |
2 |
ACTIONLOG_ENABLED = True |
3 |
|
4 |
# Notifications |
5 |
# Enable notifications (requires working email settings) |
6 |
# TODO: Make notifications not crash the app if email sending doesn't work. |
7 |
# To enable notices you also need to enable the context processor and |
8 |
# application below. |
9 |
ENABLE_NOTICES = False |
10 |
|
11 |
# If True it requires a `./manage.py emit_notices` from the command line to |
12 |
# send the notifications/emails. |
13 |
NOTIFICATION_QUEUE_ALL = True |
14 |
|
15 |
# Tagging |
16 |
FORCE_LOWERCASE_TAGS = True |
17 |
|
18 |
# Registration - OpenID (Currently not used) |
19 |
# Requires respective middleware and application |
20 |
ENABLE_OPENID=False |
21 |
|
22 |
# Useful to work with another authentication backends |
23 |
# When True the registration system (django-profile) is disabled |
24 |
ENABLE_SIMPLEAUTH=True |
25 |
|
26 |
# Enable/Disable django-contact app URL. |
27 |
ENABLE_CONTACT_FORM = True |
28 |
|
29 |
# Django-profile |
30 |
AUTH_PROFILE_MODULE = 'txcommon.profile' |
31 |
DEFAULT_AVATAR_WIDTH = 96 |
32 |
AVATAR_WEBSEARCH = False |
33 |
GOOGLE_MAPS_API_KEY = "ABQIAAAAfLle-Q79W6zCD3xcdCPsABQCULP4XOMyhPd8d_NrQQEO8sT8XBRbfo_kvrGWYPqQ7PnWFWJbDj4bQQ" |
34 |
REQUIRE_EMAIL_CONFIRMATION = False |
35 |
|
36 |
ugettext = lambda s: s |
37 |
LOGIN_URL = '/%s%s' % ('accounts/', 'login/') |
38 |
|
39 |
# Default timeout duration in days |
40 |
# How many days should the user stay logged in if he selects "Stay signed in"? |
41 |
LOGIN_DAYS = 21 |
42 |
|
43 |
# URL used to access the Django Admin Panel |
44 |
# Ex. http://domain.com/admin/ |
45 |
DJANGO_ADMIN_PANEL_URL = 'admin' |
46 |
|
47 |
# The directory where the vcs app will checkout stuff and play around. |
48 |
# Warning: On production systems this should be a place outside of the source |
49 |
# and with enough disk space. Eg. /var/lib/transifex. |
50 |
# WARNING: Kept only for migration purposes. It will be removed in 1.1. |
51 |
SCRATCH_DIR = os.path.join('/var/lib/transifex', 'scratchdir') |
52 |
|
53 |
AJAX_LOOKUP_CHANNELS = { |
54 |
# the simplest case, pass a DICT with the model and field to search against : |
55 |
'users' : ('txcommon.lookups', 'UsersLookup'), |
56 |
'projects' : ('projects.lookups', 'ProjectsLookup'), |
57 |
'resources' : ('resources.lookups', 'ResourcesLookup'), |
58 |
} |
59 |
|