Re: Token Generation Errors on Login

2025-02-19 Thread Balaji Vinothkumar
ide the token you will get this error. > > All the best > > On Tue, 18 Feb, 2025, 9:25 pm Ephraim Iannah, > wrote: > >> Did you make additional changes in the settings.py file? >> >> On Thu, Feb 13, 2025, 4:01 PM Balaji V wrote: >> >>> Hi

Re: Token Generation Errors on Login

2025-02-18 Thread RANGA BHARATH JINKA
On Thu, Feb 13, 2025, 4:01 PM Balaji V > wrote: > >> Hi, I'm new to Django. When I try to generate a login token, I receive >> these errors: >> {"detail": "Authentication credentials were not provided."} >> {"error_short"

Re: Token Generation Errors on Login

2025-02-18 Thread Ephraim Iannah
Did you make additional changes in the settings.py file? On Thu, Feb 13, 2025, 4:01 PM Balaji V wrote: > Hi, I'm new to Django. When I try to generate a login token, I receive > these errors: > {"detail": "Authentication credentials were not provided."

Re: Token Generation Errors on Login

2025-02-13 Thread Sri Santhosh
First you need to encrypt that then decrypt On Thu, Feb 13, 2025, 8:31 PM Balaji V wrote: > Hi, I'm new to Django. When I try to generate a login token, I receive > these errors: > {"detail": "Authentication credentials were not provided."} > {&

Token Generation Errors on Login

2025-02-13 Thread Balaji V
Hi, I'm new to Django. When I try to generate a login token, I receive these errors: {"detail": "Authentication credentials were not provided."} {"error_short": "Module is not Assigned", "status": "failed"} Any help resolvin

login credentials does not get validated when i used RSA and AES cryptography instead of the Django's default authentication. sign up works absolutely fine

2024-09-10 Thread Mahami Iddirisu
Secure Login System using RSA and AES Cryptography Project Description: The objective of this project is to create a secure login system using asymmetric (RSA) and symmetric (AES) cryptographic techniques. The project will involve implementing a secure user registration and login process that

Login using phone and number

2024-04-13 Thread Yash Trivedi
I need a code for login using phone number and password without using form.py and tell me how can I do quickly -- 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, sen

Re: Help on Django_allauth Login Page

2024-03-08 Thread ALINDA Fortunate
can subclass LoginForm and omit that part. > > On Fri, 8 Mar 2024 at 22:34, ALINDA Fortunate > wrote: > >> Hello colleagues, I have the following code for my login page using >> django_allauth but it outputs the *forgot password?* link. How do I edit >> th

Re: Help on Django_allauth Login Page

2024-03-08 Thread Muhammad Juwaini Abdul Rahman
It's part of LoginForm in django_allauth: https://github.com/pennersr/django-allauth/blob/main/allauth/account/forms.py#L146 You can subclass LoginForm and omit that part. On Fri, 8 Mar 2024 at 22:34, ALINDA Fortunate wrote: > Hello colleagues, I have the following code for my login pa

Help on Django_allauth Login Page

2024-03-08 Thread ALINDA Fortunate
Hello colleagues, I have the following code for my login page using django_allauth but it outputs the *forgot password?* link. How do I edit this? {% extends "_base.html" %} {%load crispy_forms_tags%} {% block title %}Log In{% endblock title %} {% block content %} Log In {%

Integrating Login form, registration form and model form

2024-02-13 Thread Janet Anastacia
I am trying to create a Django app such that when a user signs up, she goes to login then sees the form containing the data of the model in my apo.Kindly give me the steps with code example for me to achieve this On Mon, Feb 12, 2024, 12:53 AM Alexander Lyabah wrote: > Hello Django Commun

sending a message on next page refresh or login

2024-02-05 Thread vjwork
I'm using the messaging system to notify users of actions in synchronous session, but I also have some long runnning background tasks for certain users. How do insert a message into the django message framework for a user without having a request available? Is that possible at all? -- Y

Re: login with token instead of password

2024-01-16 Thread 'Kasper Laudrup' via Django users
Isn't this pincode_auth_app just the same as the standard Django password authentication, only the password is stored in plain text and limited to four characters? Maybe I'm missing something? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google G

Re: login with token instead of password

2024-01-16 Thread Ahmed Iftikhar
): username = forms.CharField(max_length=150) pin_code = forms.CharField(max_length=4, widget=forms.PasswordInput) * # pincode_auth_app/views.py from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login from .forms import

Re: login with token instead of password

2024-01-16 Thread IKT Service
edentials saved in db next I want that > *instead > of login with password I want create token *so he can login with token > not password > > what should I do > please en provide me logic steps if someone have done already > > -- > You received this message because you

login with token instead of password

2024-01-16 Thread ABDUL HAFEEZ
example: I have a model with fields username and password when users create account there credentials saved in db next I want that *instead of login with password I want create token *so he can login with token not password what should I do please provide me logic steps if someone have done

Re: Problems in Django login authentication

2023-07-31 Thread Joshua Urasa
l.com> wrote: >> >>> First extend abstract user model or abstract base user model in your >>> user model and after that define auth.model in settings.py hope its work >>> >>> Sent from my iPhone >>> >>> On 30-Jul-2023, at 10:45 AM, Abdul

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
its work >> >> Sent from my iPhone >> >> On 30-Jul-2023, at 10:45 AM, Abdulrahman Abbas >> wrote: >> >>  >> Can you login with superuser? >> >> On Sun, Jul 30, 2023, 02:32 Mh Limon wrote: >> >>> Views.py file >>>

Re: Problems in Django login authentication

2023-07-30 Thread Mh Limon
abstract base user model in your user >> model and after that define auth.model in settings.py hope its work >> >> Sent from my iPhone >> >> On 30-Jul-2023, at 10:45 AM, Abdulrahman Abbas >> wrote: >> >>  >> Can you login with superuser?

Re: Problems in Django login authentication

2023-07-29 Thread Prashanth Patelc
rote: > >  > Can you login with superuser? > > On Sun, Jul 30, 2023, 02:32 Mh Limon wrote: > >> Views.py file >> >> from django.shortcuts import render,HttpResponse,redirect >> from .models import registration >> from django.contrib.auth import aut

Re: Problems in Django login authentication

2023-07-29 Thread Mohammad Ehsan Ansari
First extend abstract user model or abstract base user model in your user model and after that define auth.model in settings.py hope its workSent from my iPhoneOn 30-Jul-2023, at 10:45 AM, Abdulrahman Abbas wrote:Can you login with superuser?On Sun, Jul 30, 2023, 02:32 Mh Limon <mhli

Re: Problems in Django login authentication

2023-07-29 Thread Abdulrahman Abbas
Can you login with superuser? On Sun, Jul 30, 2023, 02:32 Mh Limon wrote: > Views.py file > > from django.shortcuts import render,HttpResponse,redirect > from .models import registration > from django.contrib.auth import authenticate,login > > def home(request): >

Problems in Django login authentication

2023-07-29 Thread Mh Limon
Views.py file from django.shortcuts import render,HttpResponse,redirect from .models import registration from django.contrib.auth import authenticate,login def home(request): return render(request,'home.html') def log_in(request): if request.method == 'POST

i am unable to login with this code

2023-06-29 Thread Gollamudi Rohith Sai
ogle.com/d/msgid/django-users/507df760-e873-4372-b20d-9b218fbf1496n%40googlegroups.com. from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate, login from django.contrib import messages from .fo

Multiuser Login and Registration required

2023-05-21 Thread chen...@gmail.com
I need a tutorial from scratch on how new Users can register and login having different forms for HOD, Staff and Student. I need tutorial on Multiusers Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Django-allauth & Facebook login

2023-04-01 Thread Namanya Daniel
g to use django-allauth to create a facebook login system. i > managed to get it all done but in my local test i get an error where > facebook tells me my app path is not safe. I understand that my > http://localhost is missing the https://localhost. this is so ? How can > I add htt

Django-allauth & Facebook login

2023-04-01 Thread Marcelo A. Robin
Hi, I'm trying to use django-allauth to create a facebook login system. i managed to get it all done but in my local test i get an error where facebook tells me my app path is not safe. I understand that my http://localhost is missing the https://localhost. this is so ? How can I add

Login and Logout using Django JWT Token

2023-03-05 Thread Themporst Aiden
the refresh token from the cookie and use it to send a post request to the refresh token endpoint, which will now get me access token. But my question is how do i do it ? I mean the code to login user and alway make sure the access token is present whenever am sending a request to the api endpo

Re: it is very hard to find both email and phone number as username to login

2023-02-26 Thread Raphael Polanco
The username would be both a security risk and too damn long. On Sun, Feb 26, 2023 at 9:20 AM Adeyemi Deji wrote: > Y do u need both? > > On Sun, 26 Feb 2023, 15:13 Manobhav Joshi, wrote: > >> is there any way to use both email and phone number as username to login >>

Re: it is very hard to find both email and phone number as username to login

2023-02-26 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
uth.backends.ModelBackend', ) email-auth.py place in project root or /usr/local/lib/python2.7/site-packages/Django-1.11.29-py2.7.egg/django/contrib/auth use phone number for the user account id and email address will kick in automatically can use either

Re: it is very hard to find both email and phone number as username to login

2023-02-26 Thread Adeyemi Deji
Y do u need both? On Sun, 26 Feb 2023, 15:13 Manobhav Joshi, wrote: > is there any way to use both email and phone number as username to login > safely which we can use authenticate() function. > > -- > You received this message because you are subscribed to the Google Groups

it is very hard to find both email and phone number as username to login

2023-02-26 Thread Manobhav Joshi
is there any way to use both email and phone number as username to login safely which we can use authenticate() function. -- 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 i

Re: Please i need help in creating a Login page with Django

2023-01-20 Thread Aditi Dwivedi
ble to do, where you are blocked and >> from there we can guide you, because, we don't even know which videos you >> have been viewing! >> >> On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com >> wrote: >> >>> I am trying everything po

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread M Adnan
.com >> wrote: >> >>> I am trying everything possible to create a basic login page with >>> Django., i have tried so many videos and online tutorial, but still can't >>> make anything meaningful out of it. Can anyone please take me through a >>>

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread ritik sahoo
Ofcourse On Thu, 19 Jan, 2023, 7:40 pm Sebastian Jung, wrote: > I think this is a good start or? > > https://github.com/earthcomfy/Django-registration-and-login-system > > Namanya Daniel schrieb am Do., 19. Jan. 2023, > 15:00: > >> Explain where you’re failing

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Sebastian Jung
I think this is a good start or? https://github.com/earthcomfy/Django-registration-and-login-system Namanya Daniel schrieb am Do., 19. Jan. 2023, 15:00: > Explain where you’re failing exactly, is it views, forms, templates or > models > > On Thu, 19 Jan 2023 at 01:56, Michae

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Namanya Daniel
Explain where you’re failing exactly, is it views, forms, templates or models On Thu, 19 Jan 2023 at 01:56, Michael R. KOOMSON wrote: > I am trying everything possible to create a basic login page with Django., > i have tried so many videos and online tutorial, but still can't make

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread ritik sahoo
at you have been able to do, where you are blocked and >> from there we can guide you, because, we don't even know which videos you >> have been viewing! >> >> On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com >> wrote: >> >>> I

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Radhika Soni
iewing! > > On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com > wrote: > >> I am trying everything possible to create a basic login page with >> Django., i have tried so many videos and online tutorial, but still can't >> make anything meaningf

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Hubert Kanyamahanga
a basic login page with Django., > i have tried so many videos and online tutorial, but still can't make > anything meaningful out of it. Can anyone please take me through a > systematic process please, since i am new here and want to take Django to > be my friend -- You rece

Please i need help in creating a Login page with Django

2023-01-18 Thread Michael R. KOOMSON
I am trying everything possible to create a basic login page with Django., i have tried so many videos and online tutorial, but still can't make anything meaningful out of it. Can anyone please take me through a systematic process please, since i am new here and want to take Django to

Re: Location identification with login

2022-12-27 Thread tristant
depend on any third library is to have a device model which stores the user > and IP then whenever the user login saves it. > So with this, you have all the user's IPs so when they log in again then > you compare their previous IPs with the current if different you can send a > war

Re: How to allow user to delete their own profile after login with their default id.

2022-12-27 Thread Manjusha
need to create database for user and need to add id column in database. On Tuesday, December 27, 2022 at 11:32:11 PM UTC+5:30 Manjusha wrote: > User object doesn't have attribute id so it will not work, I have checked > now and you can refer this documentation >

Re: How to allow user to delete their own profile after login with their default id.

2022-12-27 Thread Manjusha
User object doesn't have attribute id so it will not work, I have checked now and you can refer this documentation , so you will get clear idea. On Monday, December 26, 2022 at 8:10:35 PM UTC+5:30 rajm1...@gmail.com wrote: > Hey, >

Re: How to allow user to delete their own profile after login with their default id.

2022-12-26 Thread Raj Mandaviya
Hey, Here is what you can do: When User clicks the Delete profile button you use Javascript Confirm then if they press OK you go to the view. def delete_account(request): user = User.objects.get(id=request.user.id) # You first logout the user then delete the account logout(request)

Re: Location identification with login

2022-12-25 Thread Yeboah Dominic
This can be done GeoIP but it can be done in a different way I have done one before that was with REST API, all you have to do if you don't want to depend on any third library is to have a device model which stores the user and IP then whenever the user login saves it. So with this, you hav

Re: Location identification with login

2022-12-25 Thread 'Kasper Laudrup' via Django users
On 25/12/2022 20.52, tristant wrote: Is there a mechanism in Django where we can identify the location of login? Any reading sources regarding this functionality would be much appreciated. What you're looking for is something called geoip. To the best of my knowledge there's no

Re: Location identification with login

2022-12-25 Thread David Nugent
Yes, that is certainly possible, although there is nothing built into Django itself. Web servers (and proxies) both pass the IP address of the remote user, which can be recorded at login together with reference to the account. Using GeoIP you can associate this more or less reliably to a

Re: How to allow user to delete their own profile after login with their default id.

2022-12-25 Thread Manjusha
;pswd1"] >> password2 = response.POST["pswd2"] >> >> try: >> myuser = User.objects.create_user(username, email, password1) >> myuser.password2 = password2 >> >> myuser.save() >>

Location identification with login

2022-12-25 Thread tristant
Is there a mechanism in Django where we can identify the location of login? Any reading sources regarding this functionality would be much appreciated. Along the same line, is there a way to prevent a login attempt if the location is within certain blacklisted IP subnets? Thanks, -- You

Re: How to allow user to delete their own profile after login with their default id.

2022-12-25 Thread Eng Thanoon
myuser.save() > #if myuser.objects.filter : > if len(username) >10: > messages.error(response,"Username should contain at most > 10 characters.") > except In

Re: How to allow user to delete their own profile after login with their default id.

2022-12-25 Thread Eng Thanoon
onse.POST["pswd1"] >> password2 = response.POST["pswd2"] >> >> try: >> myuser = User.objects.create_user(username, email, password1) >> myuser.password2 = password2 >> >>

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Manjusha
ame) >10: messages.error(response,"Username should contain at most 10 characters.") except IntegrityError: pass messages.success(response,"You have successfully registered.") return redirect('login') retur

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Eng Thanoon
*** views.py from rest_framework import generics,permissions class NotifyDestroy(generics.DestroyAPIView): """delete current user """ permission_classes=[permissions.IsAuthenticated] serializer_class=user_delete_ser queryset=User.objec

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Eng Thanoon
i sent message before bot never being accept from admins , don't now why ??? On Saturday, 24 December 2022 at 20:21:07 UTC+3 Ryan Nowakowski wrote: > Well it looks like you have a good start. What, in particular, isn't > working? It would help if you can post the corrected code and any error >

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread rahul sharma
Delete_status=0 Add coloum in database table Like delete_status On Sat, Dec 24, 2022, 20:23 Manjusha wrote: > want to know how to allow user to delete the created profile with default > id of the user. > > On Saturday, December 24, 2022 at 8:52:32 PM UTC+5:30 Manjusha wrote: > >> that incorrect

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Manjusha
want to know how to allow user to delete the created profile with default id of the user. On Saturday, December 24, 2022 at 8:52:32 PM UTC+5:30 Manjusha wrote: > that incorrect picture > > > On Saturday, December 24, 2022 at 8:51:56 PM UTC+5:30 Manjusha wrote: > >> actually the code I have writt

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Manjusha
that incorrect picture On Saturday, December 24, 2022 at 8:51:56 PM UTC+5:30 Manjusha wrote: > actually the code I have written it is for function based view but it not > working that's why I am trying to do with generic editing views sorry for > that > > On Saturday, December 24, 2022 at 8:4

Re: How to allow user to delete their own profile after login with their default id.

2022-12-24 Thread Manjusha
actually the code I have written it is for function based view but it not working that's why I am trying to do with generic editing views sorry for that On Saturday, December 24, 2022 at 8:45:05 PM UTC+5:30 Ryan Nowakowski wrote: > You're using a class-based view here but your code looks like

Re: login()/logout() with valid user and request not attaching user to session

2022-10-22 Thread Jordan Edmunds
I figured out the issue. The django_sessions database *does* get updated with entries when a login is successfully attempted. I'm not entirely sure why I initially observed that it wasn't. I may have been checking the wrong database. This is not an issue with django. I have tracke

login()/logout() with valid user and request not attaching user to session

2022-10-22 Thread Jordan
So I have some rather bizarre behavior on my hands - I am trying to use session authentication to login a user. I am able to login/logout through the django admin console just fine. However, when I explicitly call django.contrib.auth.login(), nothing happens. No errors are thrown, the login

Re: my admin django not correct: NoReverseMatch à /admin/login/

2022-09-29 Thread Muhammad Juwaini Abdul Rahman
ojects, if you know any way to handle this, it would be good > for me, thank you > > > > Environment: > > > Request Method: GET > Request URL: http://localhost:8000/admin/login/?next=/admin/ > > Django Version: 4.1 > Python Version: 3.8.10 > Installe

Re: Not avle to login with google in my website

2022-09-25 Thread Mohammad Ehsan Ansari
Add into allowed origin On Fri, 23 Sep, 2022, 7:20 pm Rajesh Kumar, wrote: > Hi All, > I have integrated the social_django package for social logins like google > and Fb ...etc. > But It's working in localhost fine but after deployed in AWS ec2 with > docker It's not working > Authorization Erro

Not avle to login with google in my website

2022-09-23 Thread Rajesh Kumar
Hi All, I have integrated the social_django package for social logins like google and Fb ...etc. But It's working in localhost fine but after deployed in AWS ec2 with docker It's not working Authorization Error coming: redirect_uri https://0.0.0.0:8000/. but it should redirect to HTTPS://{my_do

my admin django not correct: NoReverseMatch à /admin/login/

2022-09-20 Thread Nicodem Laurore
URL: http://localhost:8000/admin/login/?next=/admin/ Django Version: 4.1 Python Version: 3.8.10 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messag

Forbidden error- login to django admin

2022-09-02 Thread Amal Babu
I try to deploy my django project on railway. But i got this error[image: Screenshot 2022-09-02 102845.png] my prod settings --> import os from .common import * DEBUG = False SECRET_KEY = os.environ.get('SECRET_KEY') ALLOWED_HOSTS = ['web-production-b9a0.up.railway.app', 'co

enumerate login in django

2022-08-31 Thread Dilja E G
how to create a function to login with user nam e. if user name and password is already exist, but want to login with user for super user. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Help to implement custome user login

2022-08-09 Thread Samuel Alie Mansaray
How to add apps in django new version? On Fri, 5 Aug 2022, 20:00 vijay chourey, wrote: > Even you can extend your user modle and can store your extra fields and > OTP verification field. It's posible to change your email to phone based > login. > > On Fri, 5 Aug, 2022,

Re: Help to implement custome user login

2022-08-05 Thread vijay chourey
Even you can extend your user modle and can store your extra fields and OTP verification field. It's posible to change your email to phone based login. On Fri, 5 Aug, 2022, 7:29 pm Rinki Prasad, wrote: > Hi team , > Actually i want to implement custom model in Django Like i want that

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
e: >>> >>>> You can add fields to the default django user model by using the >>>> AbstractUser class from django.contrib.auth.models, you can't change the >>>> default fields. Rather you'll need to write your custom user model >>>> c

Re: Help to implement custome user login

2022-08-05 Thread Bhoopesh sisoudiya
;>> AbstractUser class from django.contrib.auth.models, you can't change the >>> default fields. Rather you'll need to write your custom user model >>> containing OTP and mobile number instead of username or password. >>> >>> On Fri, Aug 5, 2022,

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
;> >>> Hi team , >>> Actually i want to implement custom model in Django Like i want that the >>> user should not register.Directly i want that he should login through >>> mobile and otp instead of username and password, and the same data should >>> be s

Re: Help to implement custome user login

2022-08-05 Thread Satyajit Barik
want that the >> user should not register.Directly i want that he should login through >> mobile and otp instead of username and password, and the same data should >> be store in database so how can i do this with django?Actually i have tried >> a lot but still not abl

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
022, 19:29 Rinki Prasad wrote: > Hi team , > Actually i want to implement custom model in Django Like i want that the > user should not register.Directly i want that he should login through > mobile and otp instead of username and password, and the same data should > be store in

Help to implement custome user login

2022-08-05 Thread Rinki Prasad
Hi team , Actually i want to implement custom model in Django Like i want that the user should not register.Directly i want that he should login through mobile and otp instead of username and password, and the same data should be store in database so how can i do this with django?Actually i

Re: hr and employee login api in django authendication

2022-06-27 Thread 'Kasper Laudrup' via Django users
On 27/06/2022 11.03, Ganush K wrote: hr and employee login api in django authendication ..plz help ..hr view 1.total employee ,salry mangement  then employee view only our account..any code or refer any things share me.. ganushgm2...@gmail.com If you want someone to help you at least spent

hr and employee login api in django authendication

2022-06-27 Thread Ganush K
hr and employee login api in django authendication ..plz help ..hr view 1.total employee ,salry mangement then employee view only our account..any code or refer any things share me.. ganushgm2...@gmail.com -- You received this message because you are subscribed to the Google Groups "D

Re: CSRF issue in default login

2022-06-17 Thread Mike Kilmer
Fri, 17 Jun 2022 at 11:48, Mike Kilmer wrote: >>> >>>> Hi. >>>> >>>> I'm fairly new to Django. Here's what I need insight on: >>>> >>>> Local server, no issue. >>>> >>>> On production: CSRF 403 erro

Re: CSRF issue in default login

2022-06-17 Thread Abul Kashim 1811949642
ction. >> >> >> On Fri, 17 Jun 2022 at 11:48, Mike Kilmer wrote: >> >>> Hi. >>> >>> I'm fairly new to Django. Here's what I need insight on: >>> >>> Local server, no issue. >>> >>> On production: CSRF

Re: CSRF issue in default login

2022-06-17 Thread Mike Kilmer
te: > >> Hi. >> >> I'm fairly new to Django. Here's what I need insight on: >> >> Local server, no issue. >> >> On production: CSRF 403 error on login. >> >> There's a cookie loaded on the login page containing csrftoken: &

Re: CSRF issue in default login

2022-06-17 Thread mike vickers
*an expert in how to best set up django for production. On Fri, 17 Jun 2022 at 11:48, Mike Kilmer wrote: > Hi. > > I'm fairly new to Django. Here's what I need insight on: > > Local server, no issue. > > On production: CSRF 403 error on login. > >

Re: About Specific User Login

2022-06-17 Thread Sebastian Jung
Hello, Yoz get per query userdata and then wrotes it as further contrext https://vsupalov.com/pass-context-to-django-cbv/ Then you can render this in your template. Abhinandan K schrieb am Fr., 17. Juni 2022, 18:27: > use django icontains > > On Fri, Jun 17, 2022, 9:27 PM Shubham Mendade >

Re: About Specific User Login

2022-06-17 Thread Abhinandan K
use django icontains On Fri, Jun 17, 2022, 9:27 PM Shubham Mendade wrote: > I want to know that how django user module helps me to get the data of > specific user from lots of user to its dashboard after he/she logins > > -- > You received this message because you are subscribed to the Google G

Re: CSRF issue in default login

2022-06-17 Thread rahul sharma
; >>> I'm fairly new to Django. Here's what I need insight on: >>> >>> Local server, no issue. >>> >>> On production: CSRF 403 error on login. >>> >>> There's a cookie loaded on the login page containing csrftoke

About Specific User Login

2022-06-17 Thread Shubham Mendade
I want to know that how django user module helps me to get the data of specific user from lots of user to its dashboard after he/she logins -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: CSRF issue in default login

2022-06-17 Thread rahul sharma
{% crsf_token %} use this action form down On Fri, Jun 17, 2022, 20:47 Mike Kilmer wrote: > Hi. > > I'm fairly new to Django. Here's what I need insight on: > > Local server, no issue. > > On production: CSRF 403 error on login. > > There's a

CSRF issue in default login

2022-06-17 Thread Mike Kilmer
Hi. I'm fairly new to Django. Here's what I need insight on: Local server, no issue. On production: CSRF 403 error on login. There's a cookie loaded on the login page containing csrftoken: pAFeeUI8YFXZ2PKRYxOTX1qz4Xgto42WVNi7FFvBlZDqcFLwQ2rdQvVeZBHFSpLW (Lo

Re: Can't login with Username

2022-06-16 Thread Ryan Nowakowski
*REQUIRED_FIELDS >= [], *but didn't worked well and I'm unable to login to my django admin >database. > >-- >You received this message because you are subscribed to the Google Groups >"Django users" group. >To unsubscribe from this group and stop rec

Re: Can't login with Username

2022-06-13 Thread Abdul Qoyyuum
Create another superuser with python manage.py createsuperuser --username=joe --email=j...@example.com And then, login with joe and your new password. On Monday, June 13, 2022 at 9:39:04 PM UTC+8 sudip.flyon...@gmail.com wrote: > Hi All, > > I am practicing Django since 3 months and

Can't login with Username

2022-06-13 Thread Sudip Khokhar
27;t know how to add email after making migrations to it. I had also tried by commenting *USERNAME_FIELD = 'email'* and *REQUIRED_FIELDS = [], *but didn't worked well and I'm unable to login to my django admin database. -- You received this message because you are subscribed to

Re: Session in Python for Login and Logout

2022-06-07 Thread 'Kasper Laudrup' via Django users
On 07/06/2022 06.59, Mukul Verma wrote: yeah i was saying in Django Thanks Everyone please tell me something in steps for this like how to use session variable in django and can create session currently i am able to generate token (access and refresh) and further need to create session  with th

Re: Session in Python for Login and Logout

2022-06-07 Thread 'Kasper Laudrup' via Django users
On 07/06/2022 06.59, Mukul Verma wrote: yeah i was saying in Django Thanks Everyone please tell me something in steps for this like how to use session variable in django and can create session currently i am able to generate token (access and refresh) and further need to create session  with th

Re: Session in Python for Login and Logout

2022-06-06 Thread Muhammad Juwaini Abdul Rahman
er Laudrup' via Django users < django-users@googlegroups.com> wrote: > On 06/06/2022 11.16, Mukul Verma wrote: > > Hii, > > > > Help me out in this stuff please, some steps for solve this out > > > > Python is a programming language so there's no s

Re: Session in Python for Login and Logout

2022-06-06 Thread 'Kasper Laudrup' via Django users
On 06/06/2022 11.16, Mukul Verma wrote: Hii, Help me out in this stuff please, some steps for solve this out Python is a programming language so there's no such thing as a "session for login and logout". If you want someone to help you, you should try to clarify what you

Session in Python for Login and Logout

2022-06-06 Thread Mukul Verma
Hii, Help me out in this stuff please, some steps for solve this out -- 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.

Re: LogIn Class Based View

2022-05-28 Thread waqar khan
OST': > form = LoginForm(request.POST) > if form.is_valid(): > cd = form.cleaned_data > user = authenticate(request, >email=cd['email'], > passwor

Re: OperationalError at /admin/login database or disk is full

2022-05-28 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
ok i will assume you are running a flavor of unix aka linux, freebsd etc /admin/login is a mount point but it depends on your hdd layout for example depending on your hdd initalization # df Filesystem SizeUsed Avail Capacity Mounted on zroot

Re: OperationalError at /admin/login database or disk is full

2022-05-27 Thread Clive Bruton
On 27 May 2022, at 22:37, Andrew Rea wrote: OperationalError at /admin/login/ database or disk is full Is this because my SQLite database is full from other projects? Or possibly because I have too many virtual envs from those same other projects? Or is it due to my personal computer&#

OperationalError at /admin/login database or disk is full

2022-05-27 Thread Andrew Rea
Hello! This is my first post in this group so be gentle. I'm creating a new Django project, and I've successfully created a superuser. But when I try to access the Admin page of my project with my superuser credentials, I receive this error: OperationalError at /admin/login/ d

  1   2   3   4   5   6   7   8   9   10   >