Skip to content
Newer
Older
100644 56 lines (44 sloc) 1.74 KB
0ff255a @aduston Added AGPL license text to each source file
aduston authored Mar 27, 2010
1 # Universal Subtitles, universalsubtitles.org
2 #
3 # Copyright (C) 2010 Participatory Culture Foundation
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Affero General Public License for more details.
14 #
15 # You should have received a copy of the GNU Affero General Public License
16 # along with this program. If not, see
17 # http://www.gnu.org/licenses/agpl-3.0.html.
18
b403a77 @aduston Refactored widget js and html machinery to use django sites framework…
aduston authored Dec 30, 2009
19 from settings import *
20 import logging
50a542c Almost done with work for new embedding scheme
Adam Duston authored Jun 14, 2010
21 from django.contrib.sites.models import Site
b403a77 @aduston Refactored widget js and html machinery to use django sites framework…
aduston authored Dec 30, 2009
22
23 SITE_ID = 4
e1bbe8d @aduston Beginning of widget rewrite
aduston authored Jan 7, 2010
24 SITE_NAME = 'mirosubs-dev'
b403a77 @aduston Refactored widget js and html machinery to use django sites framework…
aduston authored Dec 30, 2009
25
beb0f2c @aduston Added Twitter authentication to widget
aduston authored Jan 3, 2010
26 TWITTER_CONSUMER_KEY = '6lHYqtxzQBD3lQ55Chi6Zg'
27 TWITTER_CONSUMER_SECRET = 'ApkJPIIbBKp3Wph0JBoAg2Nsk1Z5EG6PFTevNpd5Y00'
f6590f0 @Alerion add local settings for dev-settings
Alerion authored Jun 3, 2010
28
50a542c Almost done with work for new embedding scheme
Adam Duston authored Jun 14, 2010
29 MEDIA_URL = "http://{0}/site_media/".format(Site.objects.get(id=SITE_ID).domain)
725678d New development page now works with compiled js also. Fixed some mino…
Adam Duston authored Jun 14, 2010
30
7cc6afd @aduston Altered all javascript to use mirosubs.style instead of goog.style
aduston authored Jan 19, 2011
31 # MIDDLEWARE_CLASSES += ('middleware.SqlPrintingMiddleware',)
59005ce @aduston Resolved rpc.py conflict in merge
aduston authored Dec 10, 2010
32
2533bd1 @Alerion fix 'Add translation' button, http://bugzilla.pculture.org/show_bug.c…
Alerion authored Nov 8, 2010
33 # Uncomment following line when you want to work with compiled JS.
3f6bc96 @mattdetails new completed videos page
mattdetails authored Mar 15, 2011
34 JS_USE_COMPILED = True
2533bd1 @Alerion fix 'Add translation' button, http://bugzilla.pculture.org/show_bug.c…
Alerion authored Nov 8, 2010
35
ef05a6c @Alerion add vimeo settings to dev-settings.py, http://bugzilla.pculture.org/s…
Alerion authored Feb 8, 2011
36 VIMEO_API_KEY = 'e1a46f832f8dfa99652781ee0b39df12'
37 VIMEO_API_SECRET = 'bdaeb531298eeee1'
38
41f081b @Alerion update dev_settings.py to use Redis as Celery backend
Alerion authored Mar 16, 2011
39 # Celery
a183441 @Alerion fix running tests with celery, fix dev settings. redis is not require…
Alerion authored Mar 17, 2011
40 CELERY_ALWAYS_EAGER = True
41
42 # Or you can use redis as backend
43 #BROKER_BACKEND = 'redis'
44 #BROKER_HOST = "localhost"
45 #BROKER_VHOST = "/"
41f081b @Alerion update dev_settings.py to use Redis as Celery backend
Alerion authored Mar 16, 2011
46
47 # 1. Run Redis
48 # 2. >>> python manage.py celeryd -E --concurrency=10 -n worker1.localhost
49 # 3. >>> ./dev-runserver
3e62a0c @Alerion fix asynchronous tasks for teams app
Alerion authored Mar 16, 2011
50 # 4. >>> python manage.py celerycam #this is optional. It allow see in admin-interface tasks running
41f081b @Alerion update dev_settings.py to use Redis as Celery backend
Alerion authored Mar 16, 2011
51
461522a @Alerion add command for site turn off. use: manage.py turn_site [on|off]
Alerion authored Oct 8, 2010
52 try:
53 from settings_local import *
54 except ImportError:
55 pass
Something went wrong with that request. Please try again.