Commit 7ea6a77c authored by Denis Bilenko's avatar Denis Bilenko

pep8

parent 1d9b57ff
......@@ -8,9 +8,11 @@ from django.core.management import call_command
os.environ['DJANGO_SETTINGS_MODULE'] = 'webchat.settings'
def exception_printer(sender, **kwargs):
traceback.print_exc()
got_request_exception.connect(exception_printer)
call_command('syncdb')
......
......@@ -10,4 +10,4 @@ urlpatterns += patterns('django.views.static',
(r'^%s(?P<path>.*)$' % settings.MEDIA_URL.lstrip('/'),
'serve', {
'document_root': settings.MEDIA_ROOT,
'show_indexes': True }))
'show_indexes': True}))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment