Timeline for Django - Circular model import issue
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 10, 2022 at 13:04 | comment | added | ryansl39 |
In models.py from django.apps import apps I then defined a save method which inside has: Cart = apps.get_model(app_label='Carts', model_name='Cart') This allows me to import another django model from elsewhere.
|
|
Apr 8, 2022 at 15:01 | comment | added | MrObjectOriented | Could you please elaborate? | |
Sep 4, 2021 at 15:04 | review | Late answers | |||
Sep 5, 2021 at 19:21 | |||||
S Sep 4, 2021 at 14:46 | review | First answers | |||
Sep 4, 2021 at 16:43 | |||||
S Sep 4, 2021 at 14:46 | history | answered | ryansl39 | CC BY-SA 4.0 |