No. Only take sure That model structure about your tables should be the
same fields in your database
El vie., 4 jun. 2021 8:58, Ankita Sharma
escribió:
> Hello Team
> Hope all are doing great
>
> I have a database in microsoft sql server. I created tables and views in
> it.
>
> I ran py
```
python manage.py makemigrations
python manage.py migrate --fake
```
On Friday, June 4, 2021 at 7:21:03 PM UTC+5:30 Mahendra Yadav wrote:
> I think surely run makemigrations and migrate
>
> Mahendra Yadav
>
> On Fri, 4 Jun 2021, 18:28 Ankita Sharma, wrote:
>
>> Hello Team
>> Hope all are
I think surely run makemigrations and migrate
Mahendra Yadav
On Fri, 4 Jun 2021, 18:28 Ankita Sharma, wrote:
> Hello Team
> Hope all are doing great
>
> I have a database in microsoft sql server. I created tables and views in
> it.
>
> I ran py manage.py inspetdb > Models.py and populated my
Hello Team
Hope all are doing great
I have a database in microsoft sql server. I created tables and views in it.
I ran py manage.py inspetdb > Models.py and populated my models.py file .
I also don't want my model to alter my database. I just want it for data
retrieval.
*Should I
4 matches
Mail list logo