cms.data package

Submodules

cms.data.browsers module

cms.data.countries module

class cms.data.countries.Countries

Bases: object

An object containing a list of ISO3166-1 countries.

Iterating this object will return the countries as tuples (of the country code and name), sorted by name.

countries

Return the a dictionary of countries, modified by any overriding settings.

The result is cached so future lookups are less work intensive.

name(code)

Return the name of a country, based on the code.

If no match is found, returns an empty string.

cms.data.html_attributes module

cms.data.http_status_codes module

cms.data.operating_systems module

cms.data.robots module

cms.data.schema_definitions module

cms.data.schema_definitions.schema_dict_for(app, model)

cms.data.search_engines module

cms.data.tlds module

Module contents