Commit 2b985c3543c440a16f6b8cb8890c858597f8fa64
1 parent
25c7190b
Exists in
master
and in
39 other branches
Updating settings
Showing
2 changed files
with
9 additions
and
3 deletions
Show diff stats
src/colab/custom_settings.py
@@ -22,6 +22,7 @@ INSTALLED_APPS = INSTALLED_APPS + ( | @@ -22,6 +22,7 @@ INSTALLED_APPS = INSTALLED_APPS + ( | ||
22 | 'south', | 22 | 'south', |
23 | 'cliauth', | 23 | 'cliauth', |
24 | 'django_browserid', | 24 | 'django_browserid', |
25 | + 'conversejs', | ||
25 | 26 | ||
26 | # Own apps | 27 | # Own apps |
27 | 'super_archives', | 28 | 'super_archives', |
@@ -30,7 +31,6 @@ INSTALLED_APPS = INSTALLED_APPS + ( | @@ -30,7 +31,6 @@ INSTALLED_APPS = INSTALLED_APPS + ( | ||
30 | 'colab.deprecated', | 31 | 'colab.deprecated', |
31 | 'planet', | 32 | 'planet', |
32 | 'accounts', | 33 | 'accounts', |
33 | - 'conversejs', | ||
34 | 34 | ||
35 | # Feedzilla and deps | 35 | # Feedzilla and deps |
36 | 'feedzilla', | 36 | 'feedzilla', |
@@ -97,7 +97,11 @@ LOGGING = { | @@ -97,7 +97,11 @@ LOGGING = { | ||
97 | 'django_browserid': { | 97 | 'django_browserid': { |
98 | 'handlers': ['sentry', 'console'], | 98 | 'handlers': ['sentry', 'console'], |
99 | 'level': 'DEBUG', | 99 | 'level': 'DEBUG', |
100 | - } | 100 | + }, |
101 | + 'boshclient': { | ||
102 | + 'handlers': ['console'], | ||
103 | + 'level': 'DEBUG', | ||
104 | + }, | ||
101 | } | 105 | } |
102 | } | 106 | } |
103 | 107 | ||
@@ -173,6 +177,8 @@ SOLR_BASE_QUERY = """ | @@ -173,6 +177,8 @@ SOLR_BASE_QUERY = """ | ||
173 | 177 | ||
174 | COLAB_TRAC_URL = 'http://colab-backend.interlegis.leg.br/' | 178 | COLAB_TRAC_URL = 'http://colab-backend.interlegis.leg.br/' |
175 | 179 | ||
180 | +CONVERSEJS_BOSH_SERVICE_URL = 'https://bind.opkode.im' | ||
181 | + | ||
176 | REVPROXY_ADD_REMOTE_USER = True | 182 | REVPROXY_ADD_REMOTE_USER = True |
177 | 183 | ||
178 | try: | 184 | try: |
src/colab/urls.py
@@ -27,7 +27,7 @@ urlpatterns = patterns('', | @@ -27,7 +27,7 @@ urlpatterns = patterns('', | ||
27 | 27 | ||
28 | url(r'^planet/', include('feedzilla.urls')), | 28 | url(r'^planet/', include('feedzilla.urls')), |
29 | 29 | ||
30 | - (r'^browserid/', include('django_browserid.urls')), | 30 | + url(r'^browserid/', include('django_browserid.urls')), |
31 | 31 | ||
32 | # Uncomment the next line to enable the admin: | 32 | # Uncomment the next line to enable the admin: |
33 | url(r'^colab/admin/', include(admin.site.urls)), | 33 | url(r'^colab/admin/', include(admin.site.urls)), |