django month name from month number code example
Example: django month name from month number
import calendar
@register.filter
def month_name(month_number):
return calendar.month_name[month_number]
import calendar
@register.filter
def month_name(month_number):
return calendar.month_name[month_number]