You can try ./manage.py shell
Then you can run:
from abcd.models import Person
On Mon, 17 Oct 2022 at 06:37, It's ShAdAn wrote:
>
>
> how i run model through manage.py
>
> On Saturday, 15 October 2022 at 16:48:23 UTC-7 Thomas wrote:
>
>> You don’t run model files directly, but rather through m
how i run model through manage.py
On Saturday, 15 October 2022 at 16:48:23 UTC-7 Thomas wrote:
> You don’t run model files directly, but rather through manage.py which
> references your settings.py file.
>
> ./manage.py
>
> hth
>
> - Tom
>
> On Oct 15, 2022, at 1:07 PM, It's ShAdAn wrote:
>
>
2 matches
Mail list logo