Re: File handling in Django

2025-01-29 Thread Alexei Ramotar
I'd just give the columns generic names and let react handle the names you want to display which is probably based on dates or something cyclical. Otherwise it seems like too much overhead in renaming fields and migration. On Wed, Jan 29, 2025, 2:56 PM 'Ryan Nowakowski' via Django users < django-u

Re: File handling in Django

2025-01-29 Thread 'Ryan Nowakowski' via Django users
On 1/27/25 7:41 AM, Mayank Prajapati wrote: > I am making a full stack project with JavaScript and react for front end , > Postgre SQL for database and Django for backend and Django rest framework for > APIs. So in models.py file there's one field which is to be removed and > another field is t

Re: File handling in Django

2025-01-29 Thread Mayank Prajapati
I am making train ticket booking project in which I have to keep record of number of tickets booked and remaining seats for 60 days from today. So as the day passes , passed date field have to be removed and new date after 59 days from today has to be added. On Wed, 29 Jan 2025, 12:24 pm Agar Josh