openLdap authentication in django

2019-09-22 Thread Ankita Gupta
I am trying to add ldap authentication in my django project using (django_python3_ldap) after running python manage.py ldap_sync_users i am getting this error receive_timeout=settings.LDAP_AUTH_RECEIVE_TIMEOUT, TypeError: __init__() got an unexpected keyword argument 'receive_timeout' setti

openLdap authentication in django

2019-09-22 Thread Ankita Gupta
I am trying to add ldap authentication in my django project using (django_python3_ldap) after running python manage.py ldap_sync_users i am getting this error receive_timeout=settings.LDAP_AUTH_RECEIVE_TIMEOUT, TypeError: __init__() got an unexpected keyword argument 'receive_timeout' setti

Re: Custom token based authentication in Django rest framework

2019-05-02 Thread Shubham Joshi
okay , I will go through it, Thanks a lot On Thu, May 2, 2019 at 3:10 PM Daviddd wrote: > I would suggest to have a look at: > https://getblimp.github.io/django-rest-framework-jwt/ > > D > > Il giorno giovedì 2 maggio 2019 11:34:32 UTC+2, Shubham Joshi ha scritto: >> >> I have created a token ba

Re: Custom token based authentication in Django rest framework

2019-05-02 Thread Daviddd
I would suggest to have a look at: https://getblimp.github.io/django-rest-framework-jwt/ D Il giorno giovedì 2 maggio 2019 11:34:32 UTC+2, Shubham Joshi ha scritto: > > I have created a token based custom authentication, in which after > registration, the token is generated, now whats the next

Custom token based authentication in Django rest framework

2019-05-02 Thread Shubham Joshi
I have created a token based custom authentication, in which after registration, the token is generated, now whats the next step, how can I consume the token to the frontend? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: authentication in django

2011-08-28 Thread Kejun He
request.user.is_authenticated() ??? and the do a HttpResponseRedirect to the url you like. https://docs.djangoproject.com/en/1.3/ref/request-response/#django.http.HttpRequest.user https://docs.djangoproject.com/en/1.3/ref/request-response/#django.http.HttpResponseRedirect On Mon, Aug 29, 2011

Re: authentication in django

2011-08-28 Thread Jian Chang
decorator? 2011/8/27 NISA BALAKRISHNAN > Hi, > > I am new to django. > i am making a django app for a logged in user to add movies he > watched. > > how can i block a logged in user from accessing the log in form ? > the url .../accounts/login > > -- > You received this message because you are s

authentication in django

2011-08-27 Thread NISA BALAKRISHNAN
Hi, I am new to django. i am making a django app for a logged in user to add movies he watched. how can i block a logged in user from accessing the log in form ? the url .../accounts/login -- You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: User authentication in Django

2010-12-30 Thread aaron
According to the docs you just need to add {% csrf_token %} to each form. sorry for the noise. On Dec 30, 5:15 pm, aaron wrote: > okay, so I added a url directing accounts/login requests to a view > which in turn directs it to the login.html template suggested at > > http://docs.djangoproject.

Re: User authentication in Django

2010-12-30 Thread aaron
sword {% endif %} {% csrf_token %} User name: Password: {% endblock %} Any ideas? Cheers, Aaron On Dec 30, 4:33 pm, aaron wrote: > Hi guys, > > I'm attempting to follow the very simple setup for user authentication > in Django as detailed in

Re: User authentication in Django

2010-12-30 Thread aaron
okay, so I added a url directing accounts/login requests to a view which in turn directs it to the login.html template suggested at http://docs.djangoproject.com/en/dev/topics/auth/ Which is: {% extends "base.html" %} {% load url from future %} {% block content %} {% if form.errors %} Your use

User authentication in Django

2010-12-30 Thread aaron
Hi guys, I'm attempting to follow the very simple setup for user authentication in Django as detailed in the documentation here: http://docs.djangoproject.com/en/dev/topics/auth/ I've got a database synced, the apps installed as detailed, but when I attempt to access a password protec

Re: iPhone authentication in Django?

2009-07-28 Thread Alexandru Nedelcu
On Tue, 2009-07-28 at 00:54 -0700, R C wrote: > Does anyone know how to handle an iPhone user logging in? Any > thoughts or directions? As long as you can make HTTP requests, and your library can handle cookies or http auth, then you're fine. http://developer.apple.com/documentation/Cocoa/Conce

iPhone authentication in Django?

2009-07-28 Thread R C
Hi, I'm working on an iPhone app that will access a Django-powered website and pull in feeds. Some of those feeds will require authentication. My site uses django-registration + django-facebookconnect to allow users to log in. Does anyone know how to handle an iPhone user logging in? Any thoug

Re: POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Srdjan Popovic
Thanks for your reply. I have just tried to send one message through Python script and the other from Outlook to my GMX account and here are the headers: FROM PYTHON (CONSIDERED SPAM): Return-Path: <[EMAIL PROTECTED]> X-Flags: Delivered-To: GMX delivery to [EMAIL PROTECTED] Received: (qmail

Re: POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Kenneth Gonsalves
On Sunday 16 November 2008 06:26:18 pm Srdjan Popovic wrote: > def send_mail(subject='', text='', sender='', to=''): >     M = poplib.POP3(settings.EMAIL_HOST) >     M.user(settings.EMAIL_HOST_USER) >     M.pass_(settings.EMAIL_HOST_PASSWORD) >     headers = "From: %s\r\nTo: %s\r\nSubject: %s\r\n\

POP before SMTP authentication in Django while avoiding that the server mail goes to users' spam folder

2008-11-16 Thread Srdjan Popovic
I have recently started a new Django website, www.darela.com, and I have some problems with sending automatic mails. This is a community website, where consultants, contractors and other specialists can present themselves, publish their profiles and describe their skills and experience, publish t

Re: dose user authentication in django support verify code

2007-01-23 Thread [EMAIL PROTECTED]
gt; > On 1/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > now user authentication in django only ask user input username and > > password, but will it support verify code ?-- > Julio Nobrega -http://www.inerciasensorial.com.br --~--~-~--~

Re: dose user authentication in django support verify code

2007-01-23 Thread Julio Nobrega
characters that you store on the database, generated when the user is created, and match it with the code supplied to/by the user. On 1/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > now user authentication in django only ask user input username and > password, but

dose user authentication in django support verify code

2007-01-23 Thread [EMAIL PROTECTED]
now user authentication in django only ask user input username and password, but will it support verify code ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g