mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
When defining a model, if no field in a model is defined with primary_key=True an implicit primary key is added. The type of this implicit primary key can now be controlled via the DEFAULT_AUTO_FIELD setting and AppConfig.default_auto_field attribute. No more needing to override primary keys in all models. Maintaining the historical behavior, the default value for DEFAULT_AUTO_FIELD is AutoField. |
||
|---|---|---|
| .. | ||
| locale/ru_RU/LC_MESSAGES | ||
| management | ||
| migrations | ||
| south_migrations | ||
| tests | ||
| transports | ||
| __init__.py | ||
| admin.py | ||
| apps.py | ||
| google_utils.py | ||
| models.py | ||
| signals.py | ||
| utils.py | ||