Button create chapter no found
  • Log error:

    Django Version: 1.7.8
    Python Version: 2.7.9
    Installed Applications:
    ('devserver',
     'django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.sites',
     'django.contrib.admin',
     'django.contrib.messages',
     'django.contrib.staticfiles',
     'compressor',
     'djcelery',
     'booki.editor',
     'booktype',
     'booktype.apps.core',
     'booktype.apps.portal',
     'booktype.apps.loadsave',
     'booktype.apps.importer',
     'booktype.apps.convert',
     'booktype.apps.edit',
     'booktype.apps.reader',
     'booktype.apps.account',
     'booktype.apps.themes',
     'booktype.apps.export',
     'booktype.apps.reports',
     'booki.messaging',
     'sputnik',
     'booktypecontrol')
    Installed Middleware:
    ('django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.locale.LocaleMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.middleware.transaction.TransactionMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
     'booktype.apps.core.middleware.StrictAuthentication',
     'booktype.apps.core.middleware.SecurityMiddleware',
     'debug_toolbar.middleware.DebugToolbarMiddleware')


    Traceback:
    File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
      204.                 response = middleware_method(request, response)
    File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/middleware.py" in process_response
      94.             new_response = panel.process_response(request, response)
    File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/panels/sql/panel.py" in process_response
      187.                     query['sql'] = reformat_sql(query['sql'])
    File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/panels/sql/utils.py" in reformat_sql
      28.     return swap_fields(''.join(stack.run(sql)))
    File "/usr/local/lib/python2.7/dist-packages/sqlparse/engine/filter_stack.py" in run
      29.             stream = filter_.process(stream)

    Exception Type: TypeError at /
    Exception Value: process() takes exactly 3 arguments (2 given)
    Post edited by Raul Muñoz at 2017-04-05 14:48:55