Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jul 27, 2015
1 parent efb8d5e commit d99d425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Expand Up @@ -262,7 +262,7 @@ Model-method transformations
A second approach is to provide a SQL string for how to transform a field during the insert on the model itself.

This lets you specific different transformations for different fields of the
same type. You must name the method so that the field name is sandwiched between "copy_" and "_template". It must return a string interpolation keyed to "name", where the name of the database
same type. You must name the method so that the field name is sandwiched between ``copy_`` and ``_template``. It must return a string interpolation keyed to "name", where the name of the database
column will be slotted.

For the example above, the model might be modified to look like this.
Expand Down

0 comments on commit d99d425

Please sign in to comment.