Re: Let makemigrations know a data migration is required ?

2022-08-12 Thread Durai pandian
Since you have source table, you can check "inspectdb" command to generate model for that table. Try using the generated model into new migration. Hope this helps. On Fri, Aug 12, 2022 at 7:48 PM Stu.Axon wrote: > Are you suggesting I should have my code generate the file with the data >

Re: Let makemigrations know a data migration is required ?

2022-08-12 Thread Durai pandian
Django data migration can help in your case. https://docs.djangoproject.com/en/4.1/topics/migrations/#data-migrations 1. add empty migration 2. add your data manipulation logic there. On Fri, Aug 12, 2022 at 3:12 AM M Adnan wrote: > When we create a modal or change a modal than we use these

Re: Migration dependency not added when field is altered

2020-05-27 Thread Durai pandian
When you make any changes to the field, AlterField will be added rather than AddField. On Thu, May 28, 2020 at 7:32 AM Erin Masatsugu wrote: > If I have this a model in app A: > class AppAModel(models.Model): > name = models.CharField(max_length=50, default="") > > and this model in app B:

Re: How to retrieve the values from the context_process.py file to template?

2020-05-26 Thread Durai pandian
I can see typo in adding 'fusioncharts.*context_processors*.get_result', isn't it context_processor ? if there is no typo, please check; if you have any row data by printing it. On Tue, May 26, 2020 at 10:44 PM Daniel Roseman wrote: > On Tuesday, 26 May 2020 17:27:13 UTC+1, Aboyeji Solomon

Re: TeenagerStartups looking for Project Interns for Django/React Project

2019-12-18 Thread Durai pandian
will people get paid? if not, you should hire a freelancer. Non-disclosure agreement and confidentiality with all these things, not mentioning intern stipend. It doesn't feel right. On Thu, Dec 19, 2019 at 4:52 AM Roshan Shah wrote: > > I am toying with idea of Teenager Startups and we just

revert back to django in virtual environment from local fork

2019-11-13 Thread Durai pandian
of the django installed in that particular virtual enviroment. Can someone point the right direction where i can look the configuration? so that my other virtual environment uses the django currently installed. Thanks in advance, Durai pandian. -- You received this message because you are subscribed