Re: Let makemigrations know a data migration is required ?

2022-08-11 Thread M Adnan
When we create a modal or change a modal than we use these two commands python manage.py makemigrations here our table are created and to insert these table into database this command is necessary python manage.py migrate. I hope you will understand this. On Fri, 12 Aug 2022, 12:56 am Stu.Axon, w

Re: Let makemigrations know a data migration is required ?

2022-08-11 Thread fawemimo olawale
On Thu, 11 Aug 2022 at 20:56, Stu.Axon wrote: > I've got a table that has a list of classnames (that aren't models) that > are subclasses of a class. > > I'd like to hook into makemigrations and generate data migrations to add / > remove data as required - any idea the best way I can do this ? >

Let makemigrations know a data migration is required ?

2022-08-11 Thread Stu.Axon
I've got a table that has a list of classnames (that aren't models) that are subclasses of a class. I'd like to hook into makemigrations and generate data migrations to add / remove data as required - any idea the best way I can do this ? -- You received this message because you are subscribed

Re: Active Django Communities

2022-08-11 Thread subin
I will continue learning more about . On Wed, Aug 10, 2022 at 6:47 PM Dieu merci Dramani < dieumercidram...@gmail.com> wrote: > You're welcom ! > > Le mer. 10 août 2022 à 15:48, Abdullah Nafees > a écrit : > >> Hey all, >> >> I am a new Django and Django REST user. I was wondering what and how m