def _validate_shortname(self, shortname, neighborhood, state, permit_legacy=False): if not h.re_project_name.match(shortname): raise forge_exc.ProjectShortnameInvalid( 'Please use 3-15 small letters, numbers, and dashes.', shortname, state)
def _validate_shortname(self, shortname, neighborhood, state): if not h.re_project_name.match(shortname): raise forge_exc.ProjectShortnameInvalid( 'Please use only small letters, numbers, and dashes 3-15 characters long.', shortname, state)