Re: hello guys I need help

2022-08-29 Thread bode moses
please I'm a starter on python and django, i need some to help me with an online class training. Thank Moses On Monday, August 29, 2022 at 3:06:26 PM UTC+1 istee...@gmail.com wrote: > I am beginner , how to redirect different types of pages to different > users after login in django >

Negative Stock Prevention

2022-08-29 Thread tech george
Hello, Please help crack the below code, I want to prevent negative stock, and if the stock is == 0, deduct it from reorder_level instead. Currently, the stock goes negative. models.py class Stock(models.Model): quantity = models.IntegerField(default='0', blank=True, null=True) reorder_l

Uso de admin:%s_%s_changelist

2022-08-29 Thread 'Willian Carrizo' via Django users
Hola. Soy bastante inexperto en esto. Necesito corregir esto: def verpz(request,pk): myapplabel = Pozos._meta.app_label mymodelname = Pozos._meta.model_name infodata = myapplabel+'_'+mymodelname return HttpResponseRedirect(reverse("admin:%s_changelist" % infodata,arg

Re: e

2022-08-29 Thread Samuel Alie Mansaray
Hello, am a django beginner, I want to add apps, modules and APIs but am finding it difficult especially with the new version of django because I have been following a tutorial of Version 3. Please I need help with the updated version. On Thu, 25 Aug 2022, 21:44 Ahmed Abdelmonem, wrote: > Use v

hello guys I need help

2022-08-29 Thread ISTEEN ISAC
I am beginner , how to redirect different types of pages to different users after login in django ? -- You received this message because you are subscribed to the

Re: How to use same Models for all apps?

2022-08-29 Thread Javier L. Camacaro
thanks mansar.. I did it, but I can see the data, I need to recreate data in home page, with a model freate in "Tienda" app, but I cant. Thanks El sábado, 27 de agosto de 2022 a la(s) 21:03:21 UTC-4, mansar...@gmail.com escribió: > Am new in django framework, am get problem with the new v

Re: Assignment

2022-08-29 Thread Shivam Kishan
https://stackoverflow.com/questions/73482442/django-inline-admin. Can anyone help me to solve this problem?? On Sun, 28 Aug 2022 at 06:41, Anh Nguyen wrote: > Quite hard for a student. I guess > > > On Thu, 25 Aug 2022 at 23:11 Scott Sawyer wrote: > >> long time lurker here... >> >> On 8/25/2