Source code for django_htmx_modal_forms.main

from .conf import app_settings


[docs] def add(n1: int, n2: int) -> int: """Add the arguments.""" return n1 + n2
[docs] def is_enabled() -> bool: """Example usage of app settings.""" return app_settings.HTMX_MODAL_FORMS_ENABLED