Re: use of migrate command and how to see the tables

2019-07-20 Thread Luis O Sulbaran L
Ejemplo, Registra o actualizar cambios realizados a nuestros modelos: python manage.py makemigrations nombre_aplicaciĆ³n 04146493449--0261-7699778 *https://t.me/luisulbaranleon * El vie., 19 de jul. de 2019 a la(s) 04:32, Jani Tiainen (rede...@gmail.com)

Re: use of migrate command and how to see the tables

2019-07-20 Thread yasar arafath Kajamydeen
Thanks all who is replied to my post On Fri, Jul 19, 2019 at 10:32 PM Afotro Ben wrote: > > in my opinion migrate is the command that saves your code for django to > run or tells django that an application has been installed. > > > On Friday, 19 July 2019 08:22:33 UTC, yasar arafath

Re: use of migrate command and how to see the tables

2019-07-19 Thread Afotro Ben
in my opinion migrate is the command that saves your code for django to run or tells django that an application has been installed. On Friday, 19 July 2019 08:22:33 UTC, yasar arafath Kajamydeen wrote: > > Hi all, > > can some one tell me what is the use of migrate command ? > > when i enter

Re: use of migrate command and how to see the tables

2019-07-19 Thread neha deshpande
Because there are no any new tables or modifications in existing tables. It is not an error. You use migrate command to reflect changes to your database. On Fri, 19 Jul, 2019, 1:53 PM yasar arafath Kajamydeen, wrote: > Hi all, > > can some one tell me what is the use of migrate command ? > >

Re: use of migrate command and how to see the tables

2019-07-19 Thread James Bennett
On Fri, Jul 19, 2019 at 2:58 AM yasar arafath Kajamydeen wrote: > Thanks for the reply. Please try to solve the error which i shared (screen > shot ). > It is not an error. You have no migrations to apply, so the migrate command is telling you it sees nothing to do. It may help you to read the

Re: use of migrate command and how to see the tables

2019-07-19 Thread yasar arafath Kajamydeen
Hi Jani, Thanks for the reply. Please try to solve the error which i shared (screen shot ). Regards, Yasar Arafath K On Friday, July 19, 2019 at 4:33:08 PM UTC+8, Jani Tiainen wrote: > > Hi. > > Migrate command applies migrations, changes to your models, into database. > > For example if you

Re: use of migrate command and how to see the tables

2019-07-19 Thread Jani Tiainen
Hi. Migrate command applies migrations, changes to your models, into database. For example if you add a new field in your model you need to create a migration (piece of code that reflects your change) using makemigrations command. Once you have made migration(s) you need to apply them so

use of migrate command and how to see the tables

2019-07-19 Thread yasar arafath Kajamydeen
Hi all, can some one tell me what is the use of migrate command ? when i enter the command i got the following error (No migration to apply) . I dont know what to do further and also i would like to create tables (sqlite) . [image: migrate.JPG] Note - I am a beginer to Django .. Most