From 43b54215d277a10e0bcc377a356d32991586b3c9 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Thu, 3 Mar 2022 03:03:48 +0100 Subject: [PATCH] Add warning after copying templates --- copy_admin_templates.py | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/copy_admin_templates.py b/copy_admin_templates.py index e9d8cf1..670fead 100644 --- a/copy_admin_templates.py +++ b/copy_admin_templates.py @@ -27,11 +27,29 @@ def copyAdminTemplates(): copytree(src, dist) print("Copied", src, "->", dist) + + print( + f""" + _________ + | WARNING + | ------- + | + | You might have to edit the file {dist}/base.html by adding nav in the following way: + | This line:\t