def get_partial_date_formats():
    from django.conf import settings
    year_month_format = _('YEAR_MONTH_FORMAT')
    month_day_format = _('MONTH_DAY_FORMAT')
    if year_month_format == 'YEAR_MONTH_FORMAT':
        year_month_format = settings.YEAR_MONTH_FORMAT
    if month_day_format == 'MONTH_DAY_FORMAT':
        month_day_format = settings.MONTH_DAY_FORMAT
    return year_month_format, month_day_format
Make arrays indexable for cross-validation.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/utils/translation/trans_real.py/get_partial_date_formats--crossover with--dataset/ETHPy150Open trevorstephens/gplearn/gplearn/skutils/validation.py/indexable