docs
0
# Plugin Development
1
2
Creating custom apps, extending entities, adding custom fields, and integrating third-party services.
3
4
## Capabilities
5
6
### App Configuration
7
8
```python { .api }
9
class CremeAppConfig(AppConfig):
10
"""
11
Base configuration class for Creme CRM applications.
12
13
Methods:
14
- register_entity_models(): Register entity models
15
- register_bricks(): Register dashboard bricks/widgets
16
- register_menu_entries(): Register navigation menu items
17
- register_custom_forms(): Register custom form layouts
18
"""
19
```
20
21
### Custom Entity Development
22
23
```python { .api }
24
# Example custom entity
25
class CustomProduct(CremeEntity):
26
"""
27
Custom product entity extending base CRM functionality.
28
29
Attributes:
30
- name: str, product name
31
- custom_field: str, business-specific field
32
"""
33
name = models.CharField(max_length=100)
34
custom_field = models.TextField(blank=True)
35
36
class Meta:
37
app_label = 'my_custom_app'
38
verbose_name = 'Custom Product'
39
verbose_name_plural = 'Custom Products'
40
```