diff options
| author | Salvo Polizzi <101474753+salvo-polizzi@users.noreply.github.com> | 2025-01-09 17:00:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 13:00:29 -0300 |
| commit | fc28550fe4e0582952993976edc62971bd5345a8 (patch) | |
| tree | caf9428df753d1266dec97cffb3d4571cceacab7 /tests/shell/models.py | |
| parent | 8c118c0e00846091c261b97dbed9a5b89ceb79bf (diff) | |
Fixed #35515 -- Added automatic model imports to shell management command.
Thanks to Bhuvnesh Sharma and Adam Johnson for mentoring this Google
Summer of Code 2024 project. Thanks to Sarah Boyce, David Smith, Jacob
Walls and Natalia Bidart for reviews.
Diffstat (limited to 'tests/shell/models.py')
| -rw-r--r-- | tests/shell/models.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/shell/models.py b/tests/shell/models.py new file mode 100644 index 0000000000..85b40bf205 --- /dev/null +++ b/tests/shell/models.py @@ -0,0 +1,9 @@ +from django.db import models + + +class Marker(models.Model): + pass + + +class Phone(models.Model): + name = models.CharField(max_length=50) |
