'See http://web.archive.org/web/20090930140939/http://www.govtalk.gov.uk/gdsc/html/noframes/PostCode-2-1-Release.htm'

@classmethod
def postcode(cls):

    postcode = u''
    pattern = cls.random_element(cls.postcode_formats)
    for placeholder in pattern:
        postcode += cls.random_element(cls._postcode_sets[placeholder])
    return postcode
