Re: Want to show variables

2022-07-04 Thread Mr.Teapot
Hi, You can use custom template tag. More details in Django docs https://docs.djangoproject.com/en/4.0/howto/custom-template-tags/. wtorek, 5 lipca 2022 o 06:59:56 UTC+2 loharroh...@gmail.com napisał(a): > I want to access the data from the model but specific data > > like I am writing the

Want to show variables

2022-07-04 Thread Rohit Lohar
I want to access the data from the model but specific data like I am writing the code in python below i want it to implement in django template and model used is grade for i in range(1,20): c = "metalc"+str(i) n = "metaln" + str(i) if(grade.c!=0 and grade.n!=0)

Re: Need help

2022-07-04 Thread K Wong
I've implemented this sort of thing in the past. Without knowing your specific case, I guess that you have a parent model (ie. Pizza) and 1-n related child models (ie. Topping). My advice is to redesign your flow to create a Pizza first then attach 1-n Topping entities to it. This would

Re: Timeout error in send_mail function

2022-07-04 Thread K Wong
If you know that Django is trying to send the email then the problem lies in the local operating system and the network. If you are developing on windows then the windows firewall might be blocking you. If you are at home then your router might be blocking you. If you are trying to send

Re: Data not uploading in Django

2022-07-04 Thread K Wong
FormView does not save your data in form_valid it just does the success redirect. You need to either save it yourself or use CreateView rather than FormView. -k On Saturday, June 25, 2022 at 9:03:24 AM UTC-7 sonasiv...@gmail.com wrote: > Hello! > I've tried uploading the data I'm entering in

Re: Looking for experienced Django backend engineer

2022-07-04 Thread Sebastian Jung
Have anyone experience with Django Oscar package then i need a New implementation. Write me to sebastian.ju...@gmail.com 16-451 S.Kalyan schrieb am Mo., 4. Juli 2022, 22:47: > Sir, Please look after freshers sir please. > > On Mon, Jul 4, 2022, 3:59 PM Miracle wrote: > >> Hi Anderson, >> >> I

Re: Looking for experienced Django backend engineer

2022-07-04 Thread 16-451 S.Kalyan
Sir, Please look after freshers sir please. On Mon, Jul 4, 2022, 3:59 PM Miracle wrote: > Hi Anderson, > > I am an experienced django backend engineer with about 4+ years of > experience. > > I have experience working with python and django related technologies. > > I have experience in

Re: How to roll back related objects if any error happened.

2022-07-04 Thread Ryan Nowakowski
You can use transaction.atomic: https://docs.djangoproject.com/en/4.0/topics/db/transactions/#controlling-transactions-explicitly On July 4, 2022 7:16:41 AM EDT, Sencer Hamarat wrote: >Hi, > >Say I have a parent and a child model. > >And also there is a view which is using DRF serializers to

How to roll back related objects if any error happened.

2022-07-04 Thread Sencer Hamarat
Hi, Say I have a parent and a child model. And also there is a view which is using DRF serializers to save data into models. The saving operation steps are: First create parent parent object Then, create child object with parent object relation. The view code regarding the description above:

Re: upgrading from 1.11 and ran into builtin permission clash

2022-07-04 Thread 'Steven Mapes' via Django users
What I'd advise is to upgrade to point just before it breaks, then update the permission to use a different name, then upgraded to 2.2 avoiding the name clash. Once upgraded then edit the permission to grant the permission to the users who need that permission based on your now renamed custom

Re: Looking for experienced Django backend engineer

2022-07-04 Thread 'Steven Mapes' via Django users
I'm always looking for new clients, over 2 decades development experience, server admin experience, DBA etc See https://www.mapestech.co.uk/ for more On Monday, 4 July 2022 at 04:11:26 UTC+1 anderso...@gmail.com wrote: > Just forward to my teammate. > Good luck > > On Sun, Jul 3, 2022 at 2:04

Re: Django security releases issued: 4.0.6 and 3.2.14.

2022-07-04 Thread אורי
Hi, Bugfixes are empty on https://docs.djangoproject.com/en/4.0/releases/4.0.6/ אורי u...@speedy.net On Mon, Jul 4, 2022 at 11:00 AM Mariusz Felisiak wrote: > Details are available on the Django project weblog: > > https://www.djangoproject.com/weblog/2022/jul/04/security-releases/ > > -- >

Django security releases issued: 4.0.6 and 3.2.14.

2022-07-04 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/jul/04/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an