mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
15 lines
342 B
Python
15 lines
342 B
Python
"""Modoboa limits utilities."""
|
|
|
|
from . import constants
|
|
|
|
|
|
def get_user_limit_templates():
|
|
"""Return defined templates."""
|
|
# FIXME: change GetExtraLimitTemplates
|
|
return constants.DEFAULT_USER_LIMITS.items()
|
|
|
|
|
|
def get_domain_limit_templates():
|
|
"""Return defined templates."""
|
|
return constants.DEFAULT_DOMAIN_LIMITS.items()
|