l.s.f.BlacklistableContentNameField(ContentNameField) : class documentation

Part of lp.services.fields View In Hierarchy

Known subclasses: lp.registry.interfaces.person.PersonNameField, lp.services.fields.PillarNameField

ContentNameField that also checks that a name is not blacklisted
Method _validate Check that the given name is valid, unique and not blacklisted.

Inherited from ContentNameField:

Method _getByAttribute Return the content object with the given attribute.
Method _getByName Return the content object with the given name.

Inherited from UniqueField (via ContentNameField):

Method unchanged Return True if the attribute on the object is unchanged.
Method _content_iface Return the content interface.
Method _isValueTaken Returns true if and only if the specified value is already taken.
def _validate(self, input):
Check that the given name is valid, unique and not blacklisted.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.