aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial01/polls/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial01/polls/mod.rs')
-rw-r--r--examples/tutorial01/polls/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/tutorial01/polls/mod.rs b/examples/tutorial01/polls/mod.rs
index 0b039d9..d15a1ca 100644
--- a/examples/tutorial01/polls/mod.rs
+++ b/examples/tutorial01/polls/mod.rs
@@ -7,7 +7,9 @@ pub mod views;
pub use urls::urls;
+#[allow(dead_code)]
pub const APP: AppConfig = AppConfig {
name: module_path!(),
+ models: models::ALL,
migrations: migrations::migrations,
};