Re: User log in authentication problem in Django

2023-07-31 Thread AYUSH GUPTA
Why u create registration model for authentication because authentication model already included when u run command make migrations. U only import django.contrib.auth import User, authenticate and use On Sun, Jul 30, 2023, 7:02 AM Mh Limon wrote: > This is my views.py code. when providing the

Ynt: User log in authentication problem in Django

2023-07-31 Thread Serkan Gülten
Password should be hash not just string Windows için Posta ile gönderildi Kimden: Mh LimonGönderilme: 30 Temmuz 2023 Pazar 04:32Kime: Django usersKonu: User log in authentication problem in Django This is my views.py code. when providing the correct username and password, the system consistently

Re: Problems in Django login authentication

2023-07-31 Thread Joshua Urasa
To add up..I see others comments told you to abstractUser ... this is when you need to modify the default user maybe to add up other fields in default user like age or date but from you code above you didn't abstractUser so follow my previous comment and am sure you code will work On Sun, Jul 30,

Ynt: Problems in Django login authentication

2023-07-31 Thread Serkan Gülten
Password should be hash not just string Windows için Posta ile gönderildi Kimden: Mh LimonGönderilme: 30 Temmuz 2023 Pazar 04:32Kime: Django usersKonu: Problems in Django login authentication Views.py file  from django.shortcuts import render,HttpResponse,redirectfrom .models import

Re: Problems in Django login authentication

2023-07-31 Thread Joshua Urasa
If you use default user there is no need to write your model because is there by default so what you need to do create is form.py and inside it import usercreationform from then that form import to your view so that to handle response and request On Sun, Jul 30, 2023, 08:34 Prashanth Patelc

Re:

2023-07-31 Thread oluwafemi damilola
It'll advice that you add some extra informations to the page, also the image takes at least 5 seconds to load and the icon is tiny on mobiles On Mon, 31 Jul 2023, 14:48 marvelous, wrote: > Oh ok then I will put that into consideration thank you very much > > > > Sent from Mail

RE:

2023-07-31 Thread marvelous
Oh ok then I will put that into consideration thank you very much Sent from Mail for Windows From: Ogunlade Stephen OlayideSent: Monday, July 31, 2023 2:11 PMTo: django-users@googlegroups.comSubject: Re: I will prefer you make the About page the home/landing page On Mon, Jul 31, 2023 at 2:00 PM

Re:

2023-07-31 Thread Ogunlade Stephen Olayide
I will prefer you make the About page the home/landing page On Mon, Jul 31, 2023 at 2:00 PM marvelous wrote: > > > Hello guys I just finished building out my portfolio and I would > appreciate if you give me your honest reviews heres the link > > > > https://marvel-9gdg.onrender.com/ > > > > --

[no subject]

2023-07-31 Thread marvelous
 Hello guys I just finished building out my portfolio and I would appreciate if you give me your honest reviews heres the link   https://marvel-9gdg.onrender.com/  -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Logout time

2023-07-31 Thread Prashanth Patelc
Thank you all. Thank you # madhusudan (I got on idea through you shared the code) On Fri, Jul 28, 2023, 8:16 PM Madhusudhan Reddy wrote: > To get Logout time based on login time, > > login time = some thing > > logout time = login time + 8 hours > > use datetime timedelta module in python, >

Re: Problems in Django login authentication

2023-07-31 Thread Mh Limon
Thank you all.My problem is solved. On Sunday, July 30, 2023 at 11:34:43 AM UTC+6 Prashanth Patelc wrote: > Use default django user model > > from django.contrib.auth.models import User > # Create your models here. > class Registration (models.Model): > author = models.ForeignKey(User,