I'am using this maintenance-mode package https://github.com/fabiocaccamo/django-maintenance-mode in order to display my maintenance mode template. My template is displayed correctly but I am unable to add functions to this template.
I would like to add a function (ex. Subscription to Newsletter) to my maintenance mode template but I don't know where should I write my code. Because when the maintenance mode is On, my code from views.py is not used and my form is not displayed on my template.
Can anybody help me to find the way to add a function to my template when the maintenance mode is On?