aboutsummaryrefslogtreecommitdiff
path: root/src/contrib
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-06-30 16:31:21 -0600
committerMelody Horn <melody@boringcactus.com>2021-06-30 16:31:21 -0600
commitbc874c9d1363d3bf8865ea7a629eb976e23386b3 (patch)
tree17327e9d10acbb198b915592391ef9446c5b4c37 /src/contrib
parenta4f6e7af6576744e238ecafda826cbe602c23db5 (diff)
downloadtosin-bc874c9d1363d3bf8865ea7a629eb976e23386b3.tar.gz
tosin-bc874c9d1363d3bf8865ea7a629eb976e23386b3.zip
use the actual path to the app dir for make_migrations
Diffstat (limited to 'src/contrib')
-rw-r--r--src/contrib/admin/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contrib/admin/mod.rs b/src/contrib/admin/mod.rs
index 7b442b2..300eeac 100644
--- a/src/contrib/admin/mod.rs
+++ b/src/contrib/admin/mod.rs
@@ -6,6 +6,7 @@ pub mod site;
pub const APP: AppConfig = AppConfig {
name: module_path!(),
+ mod_rs_path: file!(),
models: models::ALL,
migrations: migrations::ALL,
};