diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-03-11 22:24:00 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-03-11 22:24:00 +0100 |
commit | fe00fabd5c45fae4c6049bc4762d1fae7463a42e (patch) | |
tree | 647fb2abfcc4a8766e8823a5b407be006c2943e0 /testing/templates/json.html | |
parent | bedc16cbe3c6938180f53ddfc781333a2ece52ee (diff) | |
download | askama-fe00fabd5c45fae4c6049bc4762d1fae7463a42e.tar.gz askama-fe00fabd5c45fae4c6049bc4762d1fae7463a42e.tar.bz2 askama-fe00fabd5c45fae4c6049bc4762d1fae7463a42e.zip |
Reference askama and std from the global scope (fixes #17)
With this change, importing `std` and `askama` into modules where templates
are defined is no longer necessary. `askama::Template` must still be imported
in scopes where methods of the `Template` trait are called.
Diffstat (limited to 'testing/templates/json.html')
0 files changed, 0 insertions, 0 deletions