Skip to content

Commit

Permalink
make example code valid so it's highlighted
Browse files Browse the repository at this point in the history
  • Loading branch information
tisdall committed Feb 25, 2015
1 parent b1f7615 commit 1e0fab0
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions docs/source/customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,17 @@ should be specified like so:

.. code:: python
name = Column('name', info={'colanderalchemy': {'title': 'Your name',
'description': 'Test',
'missing': 'Anonymous',
...}
})
name = Column(
'name',
info={
'colanderalchemy': {
'title': 'Your name',
'description': 'Test',
'missing': 'Anonymous',
# ... add your own!
}
}
)
and you can add any number of other options into the ``dict`` structure as
described above. So, anything you want passed to the resulting mapped
Expand Down

0 comments on commit 1e0fab0

Please sign in to comment.