Re: What do you do with large project and forms?

2022-08-30 Thread Paul serubombwe
You need to work with model forms, but not forms, in your templates
implement crispy forms  to avoid over coding

On Wed, Aug 31, 2022, 03:03 Mike Dewhirst  wrote:

> 1. Create a forms directory
> 2. Create ../forms/__init__.py
> 3. Move your forms.py into the forms directory
> 4. In ./__init__.py write from .forms import (
>   FormThis,
>   FormThat,
>   EtcForm,
> )
>
> This gives you unchanged forms calling from wherever ... from
> appname.forms import etc
>
> 5. When all that is working split your 3k forms.py into appropriately
> named smaller files each containing the form class or classes you prefer
> and adjust the ./__init__.py imports accordingly
>
> You might encounter occasional circular imports but you should get the
> hang of it soon enough.
>
> Cheers
>
> Mike
>
>
>
> --
> (Unsigned mail from my phone)
>
>
>
>  Original message 
> From: Julio Cojom 
> Date: 31/8/22 03:42 (GMT+10:00)
> To: django-users@googlegroups.com
> Subject: What do you do with large project and forms?
>
> I have a large project and forms.py per app is bigger than I thought with
> 3k+ lines in each file, I'm looking for options to make a good scalation
> structure, does anyone have experience with this? What do you do to
> organize your forms in your projects?
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHRQUHnd2zdPeaOmw2VzWhP2y1xN%3Dv2Z%2BQ%2B%2BsSw1B10AuxEnjA%40mail.gmail.com
> 
> .
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/630ea50d.620a0220.480de.4507SMTPIN_ADDED_MISSING%40gmr-mx.google.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJkmis2wo7HzxxPPxPO3A9JgOcsrktpb0OGPRX4O0DwFA%2B3Q5w%40mail.gmail.com.


Re: e

2022-08-30 Thread Kennedy Saavedra
What problem do you have ?

Try with a update in the console with your environment actived.

sudo apt update upgrade

Else:

You can try install:

pip install Django==3.2


Install this version with your environment actived.



El lun., 29 de agosto de 2022 9:06 a. m., Samuel Alie Mansaray <
mansarays...@gmail.com> escribió:

> 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 validate method to output the user details (name, age, ...etc)  along
>> side with the token, now you have the token and the user, u don't have to
>> extract the user from the token.
>> use the token and the user together instead of using the token only in
>> React
>>
>>
>> https://github.com/Ahmed-Abdelgawad-Dev/Sprints_Online_Store_API_Backend/blob/main/Ecommerce/users/views.py
>>
>> check this, line 69
>>
>> Here is the full project (Django DRF for backend, React for Front-end )
>>
>> On Thu, Aug 25, 2022 at 9:03 PM Aman Stark 
>> wrote:
>>
>>> Can we use 2-3 level of primary key like .  (1/1 , 1/2 , 1/3 ) ,
>>> (2/1,2/2,2/3) .
>>>
>>>
>>> On Wednesday, 24 August 2022 at 19:24:23 UTC+5:30 dashlaksh...@gmail.com
>>> wrote:
>>>
 Hello everyone,
 I want to create a user authentication app using ReactJS and django.
 But facing problems in authenticating with the jsonwebtokens in ReactJS.
 Can anybody provide correct guide of implementing DjangoRestFramework
 simple-jwt and ReactJS jet ?

>>> --
>>> 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 email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/a555f04d-b312-4626-9bfc-1b46c6826d5cn%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPV6dzg%2BBDqVxLumLjb9X9j%2B1AoDR7mHAeXrCoY7ovq6w35jbg%40mail.gmail.com
>> 
>> .
>>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAEwWnxb-xy64%3DvM3RBCdP159gsvrKZvHmpxWnqBoiX2HCmbCA%40mail.gmail.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL-qgjcQ0bq9mrZU8y-bu%3DbN1FUrVYndR-fjBVE%3Ddq0zHn6aeA%40mail.gmail.com.


RE: What do you do with large project and forms?

2022-08-30 Thread Mike Dewhirst
1. Create a forms directory2. Create ../forms/__init__.py3. Move your forms.py 
into the forms directory4. In ./__init__.py write from .forms import (  
FormThis,  FormThat,  EtcForm,)This gives you unchanged forms calling from 
wherever ... from appname.forms import etc5. When all that is working split 
your 3k forms.py into appropriately named smaller files each containing the 
form class or classes you prefer and adjust the ./__init__.py imports 
accordinglyYou might encounter occasional circular imports but you should get 
the hang of it soon enough.CheersMike--(Unsigned mail from my phone)
 Original message From: Julio Cojom  
Date: 31/8/22  03:42  (GMT+10:00) To: django-users@googlegroups.com Subject: 
What do you do with large project and forms? I have a large project and 
forms.py per app is bigger than I thought with 3k+ lines in each file, I'm 
looking for options to make a good scalation structure, does anyone have 
experience with this? What do you do to organize your forms in your projects?



-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHRQUHnd2zdPeaOmw2VzWhP2y1xN%3Dv2Z%2BQ%2B%2BsSw1B10AuxEnjA%40mail.gmail.com.

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/630ea50d.620a0220.480de.4507SMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Re: What do you do with large project and forms?

2022-08-30 Thread Danish Nagori
Yes

On Tue, 30 Aug 2022, 10:41 pm Julio Cojom,  wrote:

> I have a large project and forms.py per app is bigger than I thought with
> 3k+ lines in each file, I'm looking for options to make a good scalation
> structure, does anyone have experience with this? What do you do to
> organize your forms in your projects?
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHRQUHnd2zdPeaOmw2VzWhP2y1xN%3Dv2Z%2BQ%2B%2BsSw1B10AuxEnjA%40mail.gmail.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKa3babEgrL59HZdj%3DkJitLEXKWaboX-iaoMH8JBhpstFhn6uA%40mail.gmail.com.


What do you do with large project and forms?

2022-08-30 Thread Julio Cojom
I have a large project and forms.py per app is bigger than I thought with
3k+ lines in each file, I'm looking for options to make a good scalation
structure, does anyone have experience with this? What do you do to
organize your forms in your projects?

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHRQUHnd2zdPeaOmw2VzWhP2y1xN%3Dv2Z%2BQ%2B%2BsSw1B10AuxEnjA%40mail.gmail.com.


Re: What Programming Language should i learn

2022-08-30 Thread 'Steven D. Wolk' via Django users
Very good advice..

On Tue, Aug 30, 2022, 10:59 AM Shailesh Yadav 
wrote:

> LOL, You mean you learned Django without first learning Python?.
>
> It depends but My suggestion would be to learn Python and later learn C++
> (So then you will get much clarity on what is the difference between these
> two languages). Then after that, you can learn Data structure and
> Algorithms.
>
>
> Thanks & Regards
> Shailesh Yadav
> +91-9920886044
>
>   [image: Linkedin] 
>
>
>
> On Tue, Aug 30, 2022 at 8:12 PM Ryan Nowakowski 
> wrote:
>
>> On Tue, Aug 30, 2022 at 03:35:26PM +0100, fawemimo olawale wrote:
>> > Which of these  programming language should i learn
>> >
>> > Please I need counselling on this two language though i have prior
>> > knowledge on Python Web Framework (Django) as a beginner's but i want
>> > Backend Language
>> >
>> > JAVA or ASP.Net
>>
>> Python!  But of course this list is biased :)
>>
>> --
>> 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
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/20220830144155.GD1858%40fattuba.com
>> .
>>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMQ-AEUg0gV0CXmeGCogZ2s1hkGsBJoC5t9kwYNvCBqRKmczcg%40mail.gmail.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ4fu7yRvF42EiQYDc%3DRcmJ6GsKwmo%2BcuPgxfxN1pVc3hKa1ng%40mail.gmail.com.


Re: What Programming Language should i learn

2022-08-30 Thread 'Kasper Laudrup' via Django users

On 30/08/2022 16.35, fawemimo olawale wrote:

Which of these  programming language should i learn

Please I need counselling on this two language though i have prior 
knowledge on Python Web Framework (Django) as a beginner's but i want 
Backend Language


JAVA or ASP.Net



ASP.net isn't a programming language, so you should probably start by 
learning what a programming language is before attempting to learn to 
use one.


Additionally Django is very much a backend framework so your question 
doesn't make any sense.


Kind regards,

Kasper Laudrup

--
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e53820e7-b84c-434a-608a-96eefa0ab3ee%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: What Programming Language should i learn

2022-08-30 Thread 'Steven D. Wolk' via Django users
I dislike asp.net but it's popular and in demand. I prefer JSP and Java.

On Tue, Aug 30, 2022, 10:35 AM fawemimo olawale 
wrote:

> Which of these  programming language should i learn
>
> Please I need counselling on this two language though i have prior
> knowledge on Python Web Framework (Django) as a beginner's but i want
> Backend Language
>
> JAVA or ASP.Net
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALJWbzqwimbawRhv%2BNk%2BDvJhaw6hYx84pMyTELURGZ-WGROOpw%40mail.gmail.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ4fu7zA7uvRBDenx0wb6x95a4_vkjvjyfh5C23wy7sT7TmzJg%40mail.gmail.com.


Re: Negative Stock Prevention

2022-08-30 Thread Thomas Couch
I don't see where you define the quantity variable, should that be 
instance.quantity? Also, presumably you want to check if quantity is 
greater than or equal to qu rather than 0.
Try changing `if quantity > 0` to `if instance.quantity >= qu`


On Tuesday, August 30, 2022 at 3:44:51 PM UTC+1 Ryan Nowakowski wrote:

> On Mon, Aug 29, 2022 at 05:18:39PM +0300, tech george wrote:
> > 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_level = models.IntegerField(default='0', blank=True, null=True)
> > 
> > class Dispense(models.Model):
> > drug_id = models.ForeignKey(Stock,
> > on_delete=models.SET_NULL,null=True,blank=False)
> > dispense_quantity = models.PositiveIntegerField(default='1',
> > blank=False, null=True)
> > taken=models.CharField(max_length=300,null=True, blank=True)
>
> Maybe change quantity and reorder_level to PositiveIntegerField?
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9ef2d260-7c1a-4ff1-95ca-c13ded5f9f7bn%40googlegroups.com.


Re: What Programming Language should i learn

2022-08-30 Thread Shailesh Yadav
LOL, You mean you learned Django without first learning Python?.

It depends but My suggestion would be to learn Python and later learn C++
(So then you will get much clarity on what is the difference between these
two languages). Then after that, you can learn Data structure and
Algorithms.


Thanks & Regards
Shailesh Yadav
+91-9920886044

  [image: Linkedin] 



On Tue, Aug 30, 2022 at 8:12 PM Ryan Nowakowski  wrote:

> On Tue, Aug 30, 2022 at 03:35:26PM +0100, fawemimo olawale wrote:
> > Which of these  programming language should i learn
> >
> > Please I need counselling on this two language though i have prior
> > knowledge on Python Web Framework (Django) as a beginner's but i want
> > Backend Language
> >
> > JAVA or ASP.Net
>
> Python!  But of course this list is biased :)
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20220830144155.GD1858%40fattuba.com
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMQ-AEUg0gV0CXmeGCogZ2s1hkGsBJoC5t9kwYNvCBqRKmczcg%40mail.gmail.com.


Re: Negative Stock Prevention

2022-08-30 Thread Ryan Nowakowski
On Mon, Aug 29, 2022 at 05:18:39PM +0300, tech george wrote:
> 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_level = models.IntegerField(default='0', blank=True, null=True)
> 
> class Dispense(models.Model):
> drug_id = models.ForeignKey(Stock,
> on_delete=models.SET_NULL,null=True,blank=False)
> dispense_quantity = models.PositiveIntegerField(default='1',
> blank=False, null=True)
> taken=models.CharField(max_length=300,null=True, blank=True)

Maybe change quantity and reorder_level to PositiveIntegerField?

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20220830144358.GE1858%40fattuba.com.


Re: What Programming Language should i learn

2022-08-30 Thread Ryan Nowakowski
On Tue, Aug 30, 2022 at 03:35:26PM +0100, fawemimo olawale wrote:
> Which of these  programming language should i learn
> 
> Please I need counselling on this two language though i have prior
> knowledge on Python Web Framework (Django) as a beginner's but i want
> Backend Language
> 
> JAVA or ASP.Net

Python!  But of course this list is biased :)

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20220830144155.GD1858%40fattuba.com.


What Programming Language should i learn

2022-08-30 Thread fawemimo olawale
Which of these  programming language should i learn

Please I need counselling on this two language though i have prior
knowledge on Python Web Framework (Django) as a beginner's but i want
Backend Language

JAVA or ASP.Net

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALJWbzqwimbawRhv%2BNk%2BDvJhaw6hYx84pMyTELURGZ-WGROOpw%40mail.gmail.com.


Re: Negative Stock Prevention

2022-08-30 Thread Derek
As a start, the logic checks for the model should not be in views.py but 
rather with the model object (in models.py).  You can extend the save() 
method, for example, and add the checks there.

See: 
* https://docs.djangoproject.com/en/4.1/ref/models/instances/#saving-objects
* 
https://docs.djangoproject.com/en/4.1/ref/models/instances/#what-happens-when-you-save
* 
https://docs.djangoproject.com/en/4.1/topics/db/models/#overriding-model-methods

On Monday, 29 August 2022 at 16:19:28 UTC+2 techg...@gmail.com wrote:

> 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_level = models.IntegerField(default='0', blank=True, null=True)
>
> class Dispense(models.Model):
> drug_id = models.ForeignKey(Stock, 
> on_delete=models.SET_NULL,null=True,blank=False)
> dispense_quantity = models.PositiveIntegerField(default='1', blank=False, 
> null=True)
> taken=models.CharField(max_length=300,null=True, blank=True)
>
> views.py
>
> try:  
> 
> if request.method == 'POST':
> if form.is_valid(): 
> username = form.cleaned_data['taken']
> qu=form.cleaned_data['dispense_quantity']
> ka=form.cleaned_data['drug_id']
> # print(username)
> 
> 
> 
> stock= eo=Stock.objects.annotate(
> expired=ExpressionWrapper(Q(valid_to__lt=Now()), 
> output_field=BooleanField())
> ).filter(expired=False).get(id=username)
> form=DispenseForm(request.POST or None, instance=stock)
> instance=form.save()
> # print(instance)
> if quantity > 0
> instance.quantity-=qu
> instance.save()
> else:
> instance.reorder_level-=qu
> instanc.save()
>
> form=DispenseForm(request.POST or None 
> ,initial={'patient_id':queryset})
> form.save()
>
> messages.success(request, "Drug Has been Successfully Dispensed")
>
> return redirect('manage_patient_pharmacist')
> else:
> messages.error(request, "Validity Error")
>
> return redirect('manage_patient_pharmacist')
>
> context={
> "patients":queryset,
> "form":form,
> # "stocks":stock,
> "drugs":drugs,
> "prescrips":prescrips,
> "expired":ex,
> "expa":eo,
>
> }
> if request.method == 'POST':
> 
> print(drugs)
> context={
> "drugs":drugs,
> form:form,
> "prescrips":prescrips,
> "patients":queryset,
> "expired":ex,
> "expa":eo,
>
> }
> except:
> messages.error(request, "Dispensing Not Allowed! The Drug is Expired 
> ,please do a re-stock ")
> return redirect('manage_patient_pharmacist')
> context={
> "patients":queryset,
> "form":form,
> # "stocks":stock,
> "drugs":drugs,
> "prescrips":prescrips,
> "expired":ex,
> "expa":eo,
>
> }
>
> return render(request,'templates/discharge.html',context)
>
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e7001283-8260-44c3-974b-03ec4ef56ed3n%40googlegroups.com.


Re: hello guys I need help

2022-08-30 Thread Rotimi Michael james
my name is engr rotimi michael james , i think i can help you please just
make the model  one to one relations , that is  one user to a page and a
page to one user, hope it help.

On Mon, Aug 29, 2022 at 3:06 PM ISTEEN ISAC  wrote:

> 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 Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/90a18a68-d66f-44d9-82e5-4498fa6c5fcen%40googlegroups.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKbLKW3_q1ZaOO47mc9X%2B%3D8dUJ4rSCF9Z3C-S2VP8n4WLFiSAw%40mail.gmail.com.


Re: hello guys I need help

2022-08-30 Thread Baber Ibrar
Please share your query
On Monday, August 29, 2022 at 9:02:05 PM UTC+5 bod...@gmail.com wrote:

> 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 
>> 
>>  ?  
>
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7b3a67b4-4a3f-46cd-a145-0fde34c6e2a1n%40googlegroups.com.


Re: hello guys I need help

2022-08-30 Thread Joshua Oriakhi
Hello Bode.
When you say different types of pages what do you mean?

Do you mean you want users to see pages specific to them?

For instance, if my name is Joshua, you want me to see a page with my name
and if your name is Bode, you want me to see a page with your name. Is this
what you mean?

On Mon, 29 Aug 2022, 17:02 bode moses,  wrote:

> 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
>> 
>>  ?
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/c5ea9827-410c-4d05-bb6c-2a7e4b875f27n%40googlegroups.com
> 
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMSS1fDJHOtC3o5K30mi9aOAETtHBeH%3D1ZTdFUbCqECo1DSGbQ%40mail.gmail.com.