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,
Got error
/usr/bin/python3.9
/home/user/PycharmProjects/pythonProject4/mycham/abcd/models.py
Traceback (most recent call last):
File "/home/user/PycharmProjects/pythonProject4/mycham/abcd/models.py",
line 4, in
class Person(models.Model):
File "/usr/lib/python3/dist-packages/django/
2 matches
Mail list logo