Model switching - how to avoid saving twice

2022-08-14 Thread Mike Dewhirst
Django 3.2 Admin I have a model with two 1:n models and need to convert one type of model into the other. I know this sounds mad but it is a specialised document management to-do system. It has Note models and Link models connected to the main model. When converting a Note into a Link the L

Re: About page

2022-08-14 Thread 'Kasper Laudrup' via Django users
On 14/08/2022 19.06, Regan De Guzman wrote: My about page is still throwing an error, i've tried what I know, i can't seem to get it up and running. It shows that the template does not exist. No one knows what your about page is and nobody knows what you know or don't know. I don't see how

About page

2022-08-14 Thread Regan De Guzman
My about page is still throwing an error, i've tried what I know, i can't seem to get it up and running. It shows that the template does not exist. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Re: Help on my cart.js file using Django 3.2.15 in python

2022-08-14 Thread 'Kasper Laudrup' via Django users
On 13/08/2022 09.04, Dieu merci Dramani wrote: > This work : > productId:  1 action:  add > cart.js:9 USER: setraco > cart.js:20 setraco is logged in ! Sending data ... > > cart.js:22 > Here is the errors that I'm trying without success: > POST http://127.0.0.1:8000/update_Item/

django, datatables and sorting on custom calculated values

2022-08-14 Thread vjwork
I'm having some issues with django (3.2) and the django-datables-view app. Working with a single model I can get a nice javascript datatables view with pagination, sorting, filtering all server side etc. However, as soon as I calculate custom columns, based on an intricate query involving 3 oth

Re: Help on my cart.js file using Django 3.2.15 in python

2022-08-14 Thread 'Kasper Laudrup' via Django users
On 13/08/2022 09.04, Dieu merci Dramani wrote: > This work : > productId:  1 action:  add > cart.js:9 USER: setraco > cart.js:20 setraco is logged in ! Sending data ... > > cart.js:22 > Here is the errors that I'm trying without success: > POST http://127.0.0.1:8000/update_Item/