Models¶
- class firm_info.models.FirmContact(*args, **kwargs)[source]¶
Represents the contact information for a firm.
- phone_number¶
The phone number of the firm.
- Type:
CharField
- email¶
The email address of the firm.
- Type:
EmailField
- address¶
The address of the firm.
- Type:
CharField
- postal_code¶
The postal code of the firm.
- Type:
CharField
- city¶
The city of the firm.
- Type:
CharField
- country¶
The country of the firm.
- Type:
CharField
- baseline¶
The baseline of the firm.
- Type:
CharField
- short_description¶
The short description of the firm.
- Type:
TextField
- logo¶
The logo of the firm.
- Type:
SmartMediaField
- logo_invert¶
The inverted logo of the firm.
- Type:
SmartMediaField
- favicon¶
The favicon of the firm.
- Type:
SmartMediaField
- objects¶
Custom manager.
- Type:
- class firm_info.models.Link(*args, **kwargs)[source]¶
Represents a social network link.
- SOCIAL_NETWORK_NAMES¶
Choices for the name field representing various social network names.
- Type:
tuple
- name¶
The name of the social network.
- Type:
CharField
- url¶
The URL of the social network link.
- Type:
URLField
- client_contact¶
The foreign key to the FirmContact model representing the client contact.
- Type:
ForeignKey
- class firm_info.models.SocialSharing(*args, **kwargs)[source]¶
Represents social media sharing information.
- og_image¶
The OG image for social media sharing.
- Type:
SmartMediaField
- og_description¶
The OG description for social media sharing.
- Type:
TextField
- og_twitter_site¶
The OG Twitter site for social media sharing.
- Type:
CharField
- objects¶
The manager for the FirmContact model.
- Type:
- class firm_info.models.Tracking(*args, **kwargs)[source]¶
Represents tracking information.
- tag_analytic¶
The tag analytic for tracking.
- Type:
CharField
- objects¶
The manager for the FirmContact model.
- Type:
- class firm_info.models.AppsBanner(*args, **kwargs)[source]¶
Represents an app banner in the Django firm_info models.
- APPS_CHOICES¶
A list of tuples representing the available choices for the application type.
- Type:
list
- application_type¶
The type of the application.
- Type:
models.CharField
- image¶
The image associated with the app banner.
- Type:
SmartMediaField
- title¶
The title of the app banner.
- Type:
models.CharField
- description¶
The description of the app banner.
- Type:
models.TextField