Snippet List
Given a string, it first lowercases it, then uppercases the first letter of each sentence.
Helpful when dealing with awfully formatted entirely UPPERCASE XML product data feeds.
- capitalize
- capitalise
- sentence
- sentences
- capitalises
- capitalizes
- prettifies
- sentance
**Adapted from** [CountryField](http://www.djangosnippets.org/snippets/494/) - **Initial thanks to marinho**
Uses the UN country list listed in the source - this provides the 3 character ISO country code.
Ordered by display value and not country code.
Just place anywhere you like and import CountryField to use.
`country = CountryField(verbose_name="Country", help_text="The registrant's country of residence.")`
- forms
- form
- field
- list
- country
- countries
- custom
- custom-field
- countryfield
- countrys
djm has posted 3 snippets.