Update developer documentation

This commit is contained in:
Jeremy Stretch 2025-04-03 14:35:41 -04:00
parent c4c95ea7bd
commit 48ecc2564a

View File

@ -6,7 +6,7 @@ Below is a list of tasks to consider when adding a new field to a core model.
Add the field to the model, taking care to address any of the following conditions. Add the field to the model, taking care to address any of the following conditions.
* When adding a GenericForeignKey field, also add an index under `Meta` for its two concrete fields. For example: * When adding a GenericForeignKey field, you may need add an index under `Meta` for its two concrete fields. (This is required only for non-unique GFK relationships, as the unique constraint introduces its own index.) For example:
```python ```python
class Meta: class Meta: