Nom du mois de Django du numéro de mois
import calendar
@register.filter
def month_name(month_number):
return calendar.month_name[month_number]
Clumsy Corncrake
import calendar
@register.filter
def month_name(month_number):
return calendar.month_name[month_number]