doc/_themes/cubicweb/theme.conf
author Laurent Peuch <cortex@worlddomination.be>
Thu, 16 May 2019 04:42:59 +0200
changeset 12614 8ac9ac8d9143
parent 10491 c67bcee93248
permissions -rw-r--r--
[mod] make ViolatedConstraint actually display useful information Move from: (Pdb++) raise some_exception *** ViolatedConstraint: To: (Pdb++) raise some_exception *** ViolatedConstraint: constraint 'cstr56c2ab4b3154f21d08b067742ce5bd9d' is being violated by the query 'ALTER TABLE cw_Bibliography ADD CONSTRAINT cstr56c2ab4b3154f21d08b067742ce5bd9d CHECK(cw_item_type IN ('journalArticle', 'note', 'book', 'thesis', 'film', 'web page', 'manuscrit', 'tapuscrit'))'. You can run the inverted constraint on the database to list the problematic rows. And save hours of debugging to actually understand what is going on.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10020
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     1
[theme]
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     2
inherit = pyramid
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     3
pygments_style = sphinx.pygments_styles.PyramidStyle
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     4
stylesheet = cubicweb.css
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     5
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     6
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     7
[options]
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     8
logo = logo-cubicweb.svg
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     9
favicon = cubicweb.ico
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    10
in_progress = false
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    11
outdated = false
5e3fbdb035a8 [book] new theme based on pyramid theme (closes #4291287)
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    12
canonical_url =