Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Jun 1, 2018
1 parent 69399d4 commit 2765d2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,18 @@ message ID and an optional dictionary of arguments:
'MyApp Events!'
>>> ftl_bundle.format('events-greeting', {'username': 'boaty mcboatface'})
'Hello, ⁨boaty mcboatface⁩'
'Hello, ⁨\u2068boaty mcboatface\u2069'
TODO - explain unicode bidi chars

That's it for the basic case. See :meth:`~django_ftl.bundles.Bundle.format` for
further info about passing numbers and datetimes, and about how errors are
handled.

TODO - lazy strings

TODO - alias the methods

Using bundles from Django templates
-----------------------------------

Expand Down

0 comments on commit 2765d2f

Please sign in to comment.