Ejemplo n.º 1
0
    class Meta(ContactAssociationAdminForm.Meta):
        """Form meta class."""
        model = models.ContactOrganization
        labels = dict_merge(
            ContactAssociationAdminForm.Meta.labels,
            text.contact_organization_labels)

        help_texts = dict_merge(
            ContactAssociationAdminForm.Meta.help_texts,
            text.contact_organization_help_texts)
Ejemplo n.º 2
0
    class Meta(ContactAssociationAdminForm.Meta):
        """Form meta class."""
        model = models.ContactTitle
        labels = dict_merge(
            ContactAssociationAdminForm.Meta.labels,
            text.contact_title_labels)

        help_texts = dict_merge(
            ContactAssociationAdminForm.Meta.help_texts,
            text.contact_title_help_texts)
Ejemplo n.º 3
0
    class Meta(forms.PrioritizedModelAdminForm.Meta):
        """Form meta class."""
        model = models.Contact
        labels = dict_merge(
            forms.PrioritizedModelAdminForm.Meta.labels,
            text.contact_labels)

        help_texts = dict_merge(
            forms.PrioritizedModelAdminForm.Meta.help_texts,
            text.contact_help_texts)
Ejemplo n.º 4
0
    class Meta(ContactAssociationAdminForm.Meta):
        """Form meta class."""
        model = models.ContactInstantMessaging
        labels = dict_merge(
            ContactAssociationAdminForm.Meta.labels,
            text.contact_instant_messaging_labels)

        help_texts = dict_merge(
            ContactAssociationAdminForm.Meta.help_texts,
            text.contact_instant_messaging_help_texts)
Ejemplo n.º 5
0
    class Meta(ContactAssociationAdminForm.Meta):
        """Form meta class."""
        model = models.ContactGeographicLocation
        labels = dict_merge(
            ContactAssociationAdminForm.Meta.labels,
            text.contact_geographic_location_labels)

        help_texts = dict_merge(
            ContactAssociationAdminForm.Meta.help_texts,
            text.contact_geographic_location_help_texts)
Ejemplo n.º 6
0
    class Meta(ContactAssociationAdminForm.Meta):
        """Form meta class."""
        model = models.ContactFormattedName
        labels = dict_merge(
            ContactAssociationAdminForm.Meta.labels,
            text.contact_formatted_name_labels)

        help_texts = dict_merge(
            ContactAssociationAdminForm.Meta.help_texts,
            text.contact_formatted_name_help_texts)
Ejemplo n.º 7
0
    class Meta(ContactAssociationAdminForm.Meta):
        """Form meta class."""
        fields = '__all__'
        model = models.UserProfile
        labels = dict_merge(
            ContactAssociationAdminForm.Meta.labels,
            text.user_profile_labels)

        help_texts = dict_merge(
            ContactAssociationAdminForm.Meta.help_texts,
            text.user_profile_help_texts)
Ejemplo n.º 8
0
    class Meta(VersionedModelAdminForm.Meta):
        """Meta class declaration."""
        fields = '__all__'
        widgets = {
            'description': forms.Textarea(attrs={
                'rows': 3,
                'cols': 40
            })
        }
        labels = dict_merge(VersionedModelAdminForm.Meta.labels,
                            text.named_model_labels)

        help_texts = dict_merge(VersionedModelAdminForm.Meta.help_texts,
                                text.named_model_help_texts)