Replace Rinja by askama
This commit is contained in:
parent
3089ede6eb
commit
dc40a057ac
11 changed files with 67 additions and 79 deletions
|
|
@ -1,16 +1,17 @@
|
|||
use askama::Template;
|
||||
use axum::{
|
||||
debug_handler,
|
||||
extract::{Extension, Query, State},
|
||||
response::{Html, IntoResponse},
|
||||
};
|
||||
use rinja::Template;
|
||||
use serde::Deserialize;
|
||||
// use tracing::{event, Level};
|
||||
|
||||
use crate::{
|
||||
Result,
|
||||
data::{db, model},
|
||||
html_templates::*,
|
||||
translation, Result,
|
||||
translation,
|
||||
};
|
||||
|
||||
#[derive(Deserialize)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue