Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django month name from month number

import calendar

@register.filter
def month_name(month_number):
    return calendar.month_name[month_number]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #month #month #number
ADD COMMENT
Topic
Name
7+9 =