common.converters module

class common.converters.UnicodeSlugConverter[source]

Bases: django.urls.converters.StringConverter

regex = '[-\\w_]+'
class common.converters.FourDigitYearConverter[source]

Bases: object

regex = '[0-9]{4}'
to_python(value)[source]
to_url(value)[source]
class common.converters.TwoDigitMonthConverter[source]

Bases: object

regex = '0[1-9]|1[0-2]'
to_python(value)[source]
to_url(value)[source]
class common.converters.TwoDigitDayConverter[source]

Bases: object

regex = '0[1-9]|[1-2][0-9]|3[0-1]'
to_python(value)[source]
to_url(value)[source]