Source code for django_icalendar.main
from .conf import app_settings
[docs]
def add(n1: int, n2: int) -> int:
"""
Add the arguments.
Examples
--------
>>> add(1, 1)
2
"""
return n1 + n2
[docs]
def is_enabled() -> bool:
"""Example usage of app settings."""
return app_settings.DJANGO_ICALENDAR_ENABLED