Re: I need help with saving data to django database.

2022-08-17 Thread Anh Nguyen
Problem is you try to use sth you can’t control it. You should not modify admin page. Try to create a new one as your knowledge. That way keep you learn and stay away unpredictable issues. On Wed, 17 Aug 2022 at 20:02 Paul Kudla (SCOM.CA Internet Services Inc.) < p...@scom.ca> wrote: > > ok i had

Re: I need help with saving data to django database.

2022-08-17 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
ok i had a hudge problem when writing my invoice system in general you need to over ride the save defination in the admin and models.py files this was never clearly documented in django. I use inlines so the code gets really complicated really quickly i have given my code you will need to

I need help with saving data to django database.

2022-08-16 Thread Viando Donwasta
Hi, May I get help with this project? I am new to Django. Below is my view and model for your review. class Invoice(models.Model): InvoiceNo = ShortUUIDField(length=16, prefix="GN_", alphabet="1234567890", primary_key=True, ) InvoiceDate = models.DateFiel