Source code for django_tomselect.context_processors

"""Context processors for django_tomselect."""

__all__ = [
    "tomselect",
]


[docs] def tomselect(request): """Add tomselect-related context to the template context. Currently just adds the request for use in templates. """ return { "tomselect_request": request, }