Re: Connect Django authentication to windows ldap/windows active directory

2021-04-26 Thread Swelan Auguste
Thanks much Thankfully, Swelan R. Auguste (Mr.) KingShip Technical - Information Officer 758-729-5289 https://KingShip.business.site/ On Mon, Apr 26, 2021, 05:22 Kasper Laudrup wrote: > On 25/04/2021 18.43, Swelan Auguste wrote: > > I'm trying to connect my Django applications to ldap/windows

Re: Connect Django authentication to windows ldap/windows active directory

2021-04-26 Thread Kasper Laudrup
On 25/04/2021 18.43, Swelan Auguste wrote: > I'm trying to connect my Django applications to ldap/windows active > directory. > https://django-auth-ldap.readthedocs.io/en/latest/index.html Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google

Connect Django authentication to windows ldap/windows active directory

2021-04-25 Thread Swelan Auguste
I'm trying to connect my Django applications to ldap/windows active directory. Can anyone help me. Thankfully, Swelan R. Auguste (Mr.) KingShip Technical - Information Officer 758-729-5289 https://KingShip.business.site/ -- You received this message because you are subscribed to the Google

Re: can I use django authentication in already created mysql database with user data?

2021-03-10 Thread Kasper Laudrup
On 10/03/2021 07.54, Kevin Thomas wrote: I am creating a web app and I need to authenticate the login. The username and password is already stored in mysql database. Can I use django for authentication of existing data? It will be great help if anyone knows the answer. You can:

can I use django authentication in already created mysql database with user data?

2021-03-10 Thread Kevin Thomas
I am creating a web app and I need to authenticate the login. The username and password is already stored in mysql database. Can I use django for authentication of existing data? It will be great help if anyone knows the answer. -- You received this message because you are subscribed to the

Re: DJANGO AUTHENTICATION

2020-12-07 Thread george kwakye addo
I will recommend Django-allauth package On Mon, Dec 7, 2020 at 6:00 AM narendra...@gmail.com < narendrathapa...@gmail.com> wrote: > Which authentication package is best between DJOSER and DJANGO-ALLAUTH? > Can anyone suggest. I'm doing a project using React as frontend and Django > as backend >

Re: DJANGO AUTHENTICATION

2020-12-07 Thread aulb...@gmail.com
Throughout my learning of Django I have used Django-AllAuth, and It's amazing an easy to setup and get started with. I've never heard of Djoser so I can't comment on it. On Monday, December 7, 2020 at 6:00:02 AM UTC-5 narendra...@gmail.com wrote: > Which authentication package is best between

DJANGO AUTHENTICATION

2020-12-07 Thread narendra...@gmail.com
Which authentication package is best between DJOSER and DJANGO-ALLAUTH? Can anyone suggest. I'm doing a project using React as frontend and Django as backend -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Django authentication micro service Rest API utilization

2020-03-31 Thread Suraj Thapa FC
Read about jwt token refresh and interceptors in spa On Tue, 31 Mar 2020, 11:00 pm crack studio, wrote: > Hello Everyone, > > I want to implement and integrate different, separately Django service. > Suppose I have these two different projects. > > 1. Authentication *rest API* ( user can

Django authentication micro service Rest API utilization

2020-03-31 Thread crack studio
Hello Everyone, I want to implement and integrate different, separately Django service. Suppose I have these two different projects. 1. Authentication *rest API* ( user can register, login, email verification, create JWT token on login, refresh token, etc) 2. Frontend Project: This is the

Re: Django authentication best practice

2019-11-20 Thread Yoo
Whenever I deploy an app, I always use cookiecutter-django. I’m pretty sure there is an option lying somewhere in the settings that let you disable username. If not, I believe the BaseUser model has the option of the unique identifier or username be set to the email itself. Otherwise, you can

Django authentication best practice

2019-11-20 Thread mmk mmk
I want to replace django default username and password authentication with email and password authentication, i have many solution like extends Abstractbaseuser or using 3rd part like django-allauth . My question now which is best practice to using to do this? -- You received this message

Django authentication security check against LDAP

2017-05-03 Thread Uzair Tariq
While studying the Authentication Views in Django I came across some of the build in views including password reset view. I got hang of its basic working mechanism while reading the documentation I encountered the line promoting the use of *set_unusable_password()* in Djagno authentication

Re: Django authentication

2016-02-22 Thread James Schneider
On Mon, Feb 22, 2016 at 5:36 AM, Wilfreid Mpunia wrote: > Good day, I have the following question. > I'm still learning and improving my django level, but I'm a bite confused > with a project that I'm working on. > > For a django web app, which requires a user to

Re: Django authentication

2016-02-22 Thread Wilfreid Mpunia
why if I may ask On Monday, February 22, 2016 at 4:24:05 PM UTC+2, Avraham Serour wrote: > > AFAIK DRF uses the django auth > > On Mon, Feb 22, 2016 at 3:36 PM, Wilfreid Mpunia > wrote: > >> Good day, I have the following question. >> I'm still learning and improving my

Re: Django authentication

2016-02-22 Thread Avraham Serour
AFAIK DRF uses the django auth On Mon, Feb 22, 2016 at 3:36 PM, Wilfreid Mpunia wrote: > Good day, I have the following question. > I'm still learning and improving my django level, but I'm a bite confused > with a project that I'm working on. > > For a django web app,

Django authentication

2016-02-22 Thread Wilfreid Mpunia
Good day, I have the following question. I'm still learning and improving my django level, but I'm a bite confused with a project that I'm working on. For a django web app, which requires a user to register with their email and password, I used the custom user and backend as shown the

Re: Django authentication using phone number

2015-09-17 Thread Rafael E. Ferrero
https://docs.djangoproject.com/en/1.8/topics/auth/customizing/ -- Rafael E. Ferrero 2015-09-17 2:31 GMT-03:00 Ravi Chityala : > I am looking for an django app to do authentication and authorization > using phone number. Apps like django-registration can use email address or

Django authentication using phone number

2015-09-17 Thread Ravi Chityala
I am looking for an django app to do authentication and authorization using phone number. Apps like django-registration can use email address or user name for authentication but my requirements are different. I used all my googlefu but could not find a single django app that does it. Does

Re: Help with customizing Django authentication

2015-06-02 Thread Carlos Ribas
Hello Carl, I really appreciate your comments and I agree with you. I'll put here soon the code I'm writing, maybe this can be helpful for others too. Thanks! Em sexta-feira, 29 de maio de 2015 18:53:25 UTC-3, Carl Meyer escreveu: > > Hello Carlos, > > On 05/29/2015 03:19 PM, Carlos Ribas

Re: Help with customizing Django authentication

2015-05-29 Thread Carl Meyer
Hello Carlos, On 05/29/2015 03:19 PM, Carlos Ribas wrote: > Hello, > > I have to confess that I did not understand your suggestion. How this > will help me to reverse the logic of my system? I mean, instead of User > with or without a profile (the Person class, in my case), I want a > Person

Re: Help with customizing Django authentication

2015-05-29 Thread Carlos Ribas
Hello, I have to confess that I did not understand your suggestion. How this will help me to reverse the logic of my system? I mean, instead of User with or without a profile (the Person class, in my case), I want a Person with or without a User. Thanks anyway Em quarta-feira, 27 de maio de

Re: Help with customizing Django authentication

2015-05-29 Thread Vishnuprabha Sridharan
Hi, Try this views.py from django.contrib.auth import authenticateuser = authenticate(username='', password='secret')if user is not None: # the password verified for the user if user.is_active: print("User is valid, active and authenticated") else: print("The

Re: Help with customizing Django authentication

2015-05-29 Thread Vishnuprabha Sridharan
hi , Try to use the django administration to create the user authentication with admin.py,views.py and forms.py try by using this link: https://docs.djangoproject.com/en/1.8/topics/auth/default/ On Wednesday, May 27, 2015 at 9:24:59 PM UTC+5:30, Carlos Ribas wrote: > > Hello All,

Help with customizing Django authentication

2015-05-27 Thread Carlos Ribas
Hello All, I am currently extending the existing User model to store additional information. So, basically I have: # models.py class Person(models.Model): user = models.OneToOneField(User, verbose_name=_('User')) zipcode = models.CharField(_('Zip Code'), max_length=9, blank=True,

Django Authentication Layer

2015-03-17 Thread Satya Dev
Hi , I have been working on Django for a few days and have been trying to implement a login page for the website similar to the login page of the admin interface. I have created an auth.html which asks for a username and password and have given the necessary links in views.py and urls.py I

Re: Django authentication by email

2014-05-15 Thread Brian Schott
Django-allauthhttps://github.com/pennersr/django-allauth — Sent from Mailbox On Thu, May 15, 2014 at 7:58 AM, Frankline wrote: > Hi all, > I am thinking of developing a web application where users will have to > login by their email address instead of using their usernames.

Re: Django authentication by email

2014-05-15 Thread Vibhu Rishi
Hi, django-allauth will work for your needs. Give it a try. http://django-allauth.readthedocs.org/en/latest/ V. On Thu, May 15, 2014 at 5:26 PM, Frankline wrote: > Hi all, > > I am thinking of developing a web application where users will have to > login by their email

Re: Django authentication by email

2014-05-15 Thread Venkatraman S
On Thu, May 15, 2014 at 5:26 PM, Frankline wrote: > Hi all, > > I am thinking of developing a web application where users will have to > login by their email address instead of using their usernames. > > Now I know I can do this by writing my own auth backend, but I'm just >

Django authentication by email

2014-05-15 Thread Frankline
Hi all, I am thinking of developing a web application where users will have to login by their email address instead of using their usernames. Now I know I can do this by writing my own auth backend, but I'm just curious how the rest of you handle this. Do you normally use third party packages to

Re: custom table for django authentication possible

2011-10-19 Thread Kurtis Mullins
11 PM, Benedict Verheyen < > benedict.verhe...@gmail.com> wrote: > >> On 13/10/2011 13:15, Jiss wrote: >> > I am new to django. Can I use my own table (say) 'User' instead of >> > 'auth_user' table (keeeping all other tables for django >> > authentication ) ?.

Re: custom table for django authentication possible

2011-10-19 Thread Jisson Varghese
rhe...@gmail.com> wrote: > On 13/10/2011 13:15, Jiss wrote: > > I am new to django. Can I use my own table (say) 'User' instead of > > 'auth_user' table (keeeping all other tables for django > > authentication ) ?. > > > > Why would you want to do that? > Keep every

Re: custom table for django authentication possible

2011-10-13 Thread Kurtis Mullins
ping all other tables for django > > authentication ) ?. > > > > Why would you want to do that? > Keep everything standard and put the fields you want in a UserProfile > of your own where you store the extra information. > See the django doc: > > https://docs.dj

Re: custom table for django authentication possible

2011-10-13 Thread Benedict Verheyen
On 13/10/2011 13:15, Jiss wrote: > I am new to django. Can I use my own table (say) 'User' instead of > 'auth_user' table (keeeping all other tables for django > authentication ) ?. > Why would you want to do that? Keep everything standard and put the fields you want in a UserProfile

custom table for django authentication possible

2011-10-13 Thread Jiss
I am new to django. Can I use my own table (say) 'User' instead of 'auth_user' table (keeeping all other tables for django authentication ) ?. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Viewing IP address in the login screen, using Django authentication

2011-10-10 Thread Cal Leeming [Simplicity Media Ltd]
e middleware anyway :X) > > Hope this helps. > > Cal > > On Mon, Oct 10, 2011 at 11:17 AM, peter-ctp <peterr...@googlemail.com>wrote: > >> Folks >> I am using the standard django authentication to allow people access >> to various web resources. I

Re: Viewing IP address in the login screen, using Django authentication

2011-10-10 Thread Cal Leeming [Simplicity Media Ltd]
On Mon, Oct 10, 2011 at 11:17 AM, peter-ctp <peterr...@googlemail.com>wrote: > Folks > I am using the standard django authentication to allow people access > to various web resources. I manage the password/username logins > through the template login.html file and almost eve

Viewing IP address in the login screen, using Django authentication

2011-10-10 Thread peter-ctp
Folks I am using the standard django authentication to allow people access to various web resources. I manage the password/username logins through the template login.html file and almost everything works fine. However: I would like to show the IP address of the user's computer, as it is seen

Re: Weird hyperlink issue with Office and Django authentication

2011-08-16 Thread Michel30
Yes I agree, but if I understand it right then the article suggests that the issue originates from the single sign-on mechanism, in this case the Django authentication backend. This should be smart enough to handle the multiple sessions. Anyway I had a hard time finding anything related

Re: Weird hyperlink issue with Office and Django authentication

2011-08-16 Thread Konstantin Sushenko
as the article says, their sessions are independent of these used by the web server. the cookies are not shared between office sessions and web sessions. I think django has nothing to do with it. On Aug 16, 4:04 am, Michel30 wrote: > Hmm the workaround MS suggests actually

Re: Weird hyperlink issue with Office and Django authentication

2011-08-16 Thread Michel30
Hmm the workaround MS suggests actually works, so I have a workaround :-) But understanding why Django's authentication backend doesn't support this would be good On Aug 16, 9:10 am, Michel30 wrote: > Addidtionally I found this kb article that I believe describes what is

Re: Weird hyperlink issue with Office and Django authentication

2011-08-16 Thread Michel30
Addidtionally I found this kb article that I believe describes what is going on: http://support.microsoft.com/kb/899927/en-us On Aug 16, 8:59 am, Michel30 wrote: > I have made a CMS-like application to store and retrieve documents > using Django 1.3, mysql and Apache. > >

Weird hyperlink issue with Office and Django authentication

2011-08-16 Thread Michel30
I have made a CMS-like application to store and retrieve documents using Django 1.3, mysql and Apache. One requirement was that only authenticated users could use it and that after closing the browser the session should be expired. So, I implemented an LDAP authentication backend, set the

Trouble Understanding best approach for using django authentication

2011-02-15 Thread Jeremiah
I'm struggling with getting/understanding the best approach for using the authentication tools that come with Django. I'm taking the approach of writing my own form and my own view. My form displays and accepts input, but I'm not getting expected results once the "login" button is clicked. I'm

Re: use django authentication for non-django pages

2010-10-15 Thread clee
On Oct 15, 2:12 am, bowlby wrote: > We're hosting a small site on our own server. On the server we have > some pages that are non-django (for example munin to see server > statistics). Is there a way to use django's authentication mechanism > to reserve access to these pages

Re: use django authentication for non-django pages

2010-10-15 Thread Devin M
You could use a template in django if your only serving some static html. Otherwise if its php or something, make a template and restrict it to admin and have the view render the php and spit it out to the page context. On Oct 15, 2:12 am, bowlby wrote: > We're hosting a

use django authentication for non-django pages

2010-10-15 Thread bowlby
We're hosting a small site on our own server. On the server we have some pages that are non-django (for example munin to see server statistics). Is there a way to use django's authentication mechanism to reserve access to these pages to users who have an account? Details: we have site say,

Re: GAE + Django Authentication

2010-07-20 Thread Simon Holness
2nd Vote for Nonrel http://www.allbuttonspressed.com/projects/django-nonrel If you'd prefer not to use that, there's also Google's App Engine Helper for Django - http://code.google.com/p/google-app-engine-django/ http://code.google.com/appengine/articles/appengine_helper_for_django.html But

Re: GAE + Django Authentication

2010-07-20 Thread Nuno Maltez
Hi, Have you tried django-nonrel? - http://www.allbuttonspressed.com/projects/django-nonrel On Tue, Jul 20, 2010 at 6:59 AM, Venkatraman S wrote: > Hi, > > Has anyone made inroads into django auth in GAE? I have been Googling around > for sometime and havent found a

GAE + Django Authentication

2010-07-19 Thread Venkatraman S
Hi, Has anyone made inroads into django auth in GAE? I have been Googling around for sometime and havent found a credible link on this. Help would be great. Regards, -V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: django authentication system

2010-04-26 Thread Leo
I've done any number of authentication-integration adapters, and it's best to just use django.contrib.auth.models.User. In your authentication backend, just auto-create an instance of User if the supplied username and password pass authentication. You can use a constant password, after all

Re: django authentication system

2010-04-03 Thread Anand Agarwal
I guess you can use django-openid, though i am not sure what exactly you are trying. -BootStrapToday http://www.bootstraptoday.com On Sat, Apr 3, 2010 at 1:04 AM, orokusaki wrote: > You have to use ``auth.models.User`` if you want to

Re: django authentication system

2010-04-02 Thread orokusaki
You have to use ``auth.models.User`` if you want to enjoy all the benefits of the auth system. Just create a model and make a onetoone to User. On Apr 2, 8:22 am, Heit wrote: > Hello, > > I'm newbie in django, reading documentation i understood that django >

django authentication system

2010-04-02 Thread Heit
Hello, I'm newbie in django, reading documentation i understood that django authorization model is based on django.contrib.auth.models.User class and without having an instance of it, it is impossible to maintain authentication and maybe an authorization. Even if I'll write my own authentication

Re: Django authentication, not permit 2 users with the same name to login in same time

2009-12-15 Thread Nicu Marcu
Need to be other solution, like using sessions? 2009/12/15 rebus_ > 2009/12/14 NMarcu : > > Hi all, > > > > How can I do, to not let the same user to be logged from 2 > > different location, in the same time. I want, when a user admin is > > login,

Re: Django authentication, not permit 2 users with the same name to login in same time

2009-12-14 Thread rebus_
2009/12/14 NMarcu : > Hi all, > >   How can I do, to not let the same user to be logged from 2 > different location, in the same time. I want, when a user admin is > login, and another user try to login with the same user admin, to have > a message, you are already login.

Django authentication, not permit 2 users with the same name to login in same time

2009-12-14 Thread NMarcu
Hi all, How can I do, to not let the same user to be logged from 2 different location, in the same time. I want, when a user admin is login, and another user try to login with the same user admin, to have a message, you are already login. How can I do something like this? All the best, Nicu

Re: How to server static media secured by Django authentication

2009-11-20 Thread Glenn Tenney
At 11:49 PM -0600 9/11/09, Gabriel Gunderson wrote: >On Fri, Sep 11, 2009 at 3:03 PM, Jim Myers wrote: >> I have a requirement to serve static files only to users authenticated >> through Django secure login. > >http://docs.djangoproject.com/en/dev/howto/apache-auth/ I've

Re: How to server static media secured by Django authentication

2009-09-13 Thread Lars Holm Nielsen
Hi, There's a couple of ways to do this, but none of them is really as easy as using basic/digest authentication in apache. Most of the methods posted until now passes the static file through django or at least python, which might not be ideal depending on your performance requirements.

Re: How to server static media secured by Django authentication

2009-09-12 Thread Graham Dumpleton
On Sep 13, 2:30 am, Jim Myers wrote: > I had looked at that page before, but had thought it only applied to > mod_python. > Does it also apply to mod_wsgi?  If so, the page could be made > clearer. It doesn't. Read instead:

Re: How to server static media secured by Django authentication

2009-09-12 Thread Jim Myers
I had looked at that page before, but had thought it only applied to mod_python. Does it also apply to mod_wsgi? If so, the page could be made clearer. On Sep 11, 10:49 pm, Gabriel Gunderson wrote: > On Fri, Sep 11, 2009 at 3:03 PM, Jim Myers wrote: > > I

Re: How to server static media secured by Django authentication

2009-09-11 Thread Gabriel Gunderson
On Fri, Sep 11, 2009 at 3:03 PM, Jim Myers wrote: > I have a requirement to serve static files only to users authenticated > through Django secure login. http://docs.djangoproject.com/en/dev/howto/apache-auth/ Gabe --~--~-~--~~~---~--~~ You

Re: How to server static media secured by Django authentication

2009-09-11 Thread Javier Guerra
On Fri, Sep 11, 2009 at 4:26 PM, Tim Chase wrote: > You may be interested in: > > http://code.djangoproject.com/ticket/2131 > > Both mod_python and mod_wsgi support the ability to return a > header that instructs the web-server to "dump this local file > back as

Re: How to server static media secured by Django authentication

2009-09-11 Thread Tim Chase
> I have a requirement to serve static files only to users authenticated > through Django secure login. You may be interested in: http://code.djangoproject.com/ticket/2131 Both mod_python and mod_wsgi support the ability to return a header that instructs the web-server to "dump this local

Re: How to server static media secured by Django authentication

2009-09-11 Thread Maksymus007
On Fri, Sep 11, 2009 at 11:03 PM, Jim Myers wrote: > > I have a requirement to serve static files only to users authenticated > through Django secure login. > That means I can't use apache basic/digest authentication for those > files. > > So far in my searches of the web and

How to server static media secured by Django authentication

2009-09-11 Thread Jim Myers
I have a requirement to serve static files only to users authenticated through Django secure login. That means I can't use apache basic/digest authentication for those files. So far in my searches of the web and Django docs, I've found no way to do this. Of course my alternative is to serve ALL

Django authentication for external apache

2009-08-04 Thread rahul
Hello, I am sure this question would have come up a number of times but I couldn't find any links to suit my requirements. I want to run an external apache to serve media. Apache is to serve media only if the user is logged in. I saw a couple of links for installing Apache Authentication

Django Authentication Addendum

2009-07-08 Thread Exolun
Hello Everyone, I've been working on a Django/SCT powered website for a game we've been writing at my college, and we want to tie the game regsitration in with the registration function on the website. The authentication system for the game is already fully implemented, so we're doing the

Re: Using Django authentication for web pages outside Django?

2009-06-08 Thread Adam Stein
m> wrote: > > I'm trying to figure out a way to use Django authentication to control > > access to web pages (on the same web server) that are NOT under Django. > > > > I have found some information regarding setting up Apache for basic > > authentication using mod

Re: Using Django authentication for web pages outside Django?

2009-06-08 Thread Adam Stein
/django/old app) > > On Jun 5, 1:26 pm, Adam Stein <a...@eng.mc.xerox.com> wrote: > > I'm trying to figure out a way to use Django authentication to control > > access to web pages (on the same web server) that are NOT under Django. > > > > I have found som

Re: Using Django authentication for web pages outside Django?

2009-06-05 Thread Graham Dumpleton
Have a look at: http://www.openfusion.com.au/labs/mod_auth_tkt/ Graham On Jun 6, 6:26 am, Adam Stein <a...@eng.mc.xerox.com> wrote: > I'm trying to figure out a way to use Django authentication to control > access to web pages (on the same web server) that are NOT under Django

Re: Using Django authentication for web pages outside Django?

2009-06-05 Thread BenW
entities though (browser/django/old app) On Jun 5, 1:26 pm, Adam Stein <a...@eng.mc.xerox.com> wrote: > I'm trying to figure out a way to use Django authentication to control > access to web pages (on the same web server) that are NOT under Django. > > I have found some information

Using Django authentication for web pages outside Django?

2009-06-05 Thread Adam Stein
I'm trying to figure out a way to use Django authentication to control access to web pages (on the same web server) that are NOT under Django. I have found some information regarding setting up Apache for basic authentication using mod_wsgi, but in this case Apache puts up it's own login window

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-27 Thread Graham Dumpleton
; > > aren't using prefork MPM and running using mod_python or embedded mode > > > > of mod_wsgi. This methods result in more Apache processes and thus > > > > more open files. Better to use worker MPM or daemon mode of mod_wsgi > > > > and limit number of p

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-27 Thread Ben Welsh
>> > >> > > If you have an issue with number of file open, I would be ensuring you >> > > aren't using prefork MPM and running using mod_python or embedded mode >> > > of mod_wsgi. This methods result in more Apache processes and thus >> > > more open files. Be

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-27 Thread Ben Welsh
t; > > more open files. Better to use worker MPM or daemon mode of mod_wsgi > > > and limit number of processes. > > > > > So, what is the real problem you are trying to solve? > > > > > Graham > > > > > > Thanks again, > > > > > &g

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-27 Thread Graham Dumpleton
the real problem you are trying to solve? > > > Graham > > > > Thanks again, > > > > Ben. > > > > On Mon, May 25, 2009 at 4:07 PM, Graham Dumpleton < > > > > graham.dumple...@gmail.com> wrote: > > > > > On May 26, 5:20

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-27 Thread Ben Welsh
and limit number of processes. > > So, what is the real problem you are trying to solve? > > Graham > > > Thanks again, > > > > Ben. > > > > On Mon, May 25, 2009 at 4:07 PM, Graham Dumpleton < > > > > graham.dumple...@gmail.com> wr

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-27 Thread Graham Dumpleton
m> wrote: > > > Sorry to have been too brief. > > > > My objective is to rely as completely as possible on the Django > > > authentication methods. The only auth I need is > > > > 1) admin login for CMS managment > > > 2) staff_member_required

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-26 Thread Ben Welsh
2009 at 4:07 PM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > > On May 26, 5:20 am, Ben Welsh <ben.we...@gmail.com> wrote: > > Sorry to have been too brief. > > > > My objective is to rely as completely as possible on the Django > >

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-25 Thread Graham Dumpleton
On May 26, 5:20 am, Ben Welsh <ben.we...@gmail.com> wrote: > Sorry to have been too brief. > > My objective is to rely as completely as possible on the Django > authentication methods. The only auth I need is > > 1) admin login for CMS managment > 2) staff_

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-25 Thread Ben Welsh
Sorry to have been too brief. My objective is to rely as completely as possible on the Django authentication methods. The only auth I need is 1) admin login for CMS managment 2) staff_member_required protections for certain pages (for example content preview pages that link out of the admin

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-24 Thread V
AFAIK there are thousands of ways to combine Apache+Django for authentication. Just to name a few: * no apache, just django: you can define custom authentication methods (or even Basic Auth) with django. See the docs [1] * apache handles authentication using django as the backend. See the docs

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-23 Thread Masklinn
On 23 May 2009, at 11:57 , Graham Dumpleton wrote: > On May 23, 5:59 am, palewire wrote: >> The default httpd.conf loaded on my CentOS server contains the >> following authentication modules. >> >> LoadModule auth_basic_module modules/mod_auth_basic.so >> LoadModule

Re: What, if any, Apache modules are required to implement Django authentication?

2009-05-23 Thread Graham Dumpleton
On May 23, 5:59 am, palewire wrote: > The default httpd.conf loaded on my CentOS server contains the > following authentication modules. > > LoadModule auth_basic_module modules/mod_auth_basic.so > LoadModule auth_digest_module modules/mod_auth_digest.so > LoadModule

What, if any, Apache modules are required to implement Django authentication?

2009-05-22 Thread palewire
The default httpd.conf loaded on my CentOS server contains the following authentication modules. LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_alias_module

Re: Using Django authentication for phpBB

2008-12-29 Thread Giles Thomas
Grigory Fateyev wrote: > My question should be "For phpbb2 it can be rewritten?". :) > Ah, I see :-) To be honest, I don't know. I have the impression that phpBB's pluggable authentication might have only appeared in version 3.0, and if that's the case then I don't think it would be easy

Re: Using Django authentication for phpBB

2008-12-29 Thread Grigory Fateyev
Hello Giles Thomas! On Mon, 29 Dec 2008 12:35:11 + you wrote: > > Grigory Fateyev wrote: > > It was written for phpbb3? > > > Hi Grigory, > > Yes, it was. I have it running under one of the later phpBB 3 > release candidates, but it should be fine with 3.0 final. My question should be

Re: Using Django authentication for phpBB

2008-12-29 Thread Giles Thomas
Grigory Fateyev wrote: > It was written for phpbb3? > Hi Grigory, Yes, it was. I have it running under one of the later phpBB 3 release candidates, but it should be fine with 3.0 final. Cheers, Giles -- Giles Thomas MD & CTO, Resolver Systems Ltd. giles.tho...@resolversystems.com +44

Re: Using Django authentication for phpBB

2008-12-25 Thread Grigory Fateyev
Hello Giles Thomas! On Thu, 11 Dec 2008 18:34:21 + you wrote: > > Hi all, > > All of the code to support Django logins for phpBB is now up > available in a Google code project: > > http://code.google.com/p/django-login-for-phpbb/ > > Drop me a line if you find it useful or have any

Re: Overwriting Django Authentication / Session Logic

2008-12-21 Thread Bradley Wright
On Sun, Dec 21, 2008 at 8:00 PM, Sahil R Cooner wrote: > You don't have to store anything in the database you can just use the models > to store > information then return that the user is authenticated...I can post a code > example for you I > have made using ldap auth

Re: Overwriting Django Authentication / Session Logic

2008-12-21 Thread Bradley Wright
I have the same issue, but my issue is that Django is interfacing with a web service and ideally will have *no user database* on the front end. All the examples I've seen involve essentially copying the user from LDAP/wherever and sticking them in the User model, which: a) Is duplication across

Re: Using Django authentication for phpBB

2008-12-11 Thread Giles Thomas
Hi all, All of the code to support Django logins for phpBB is now up available in a Google code project: http://code.google.com/p/django-login-for-phpbb/ Drop me a line if you find it useful or have any questions. Cheers, Giles Giles Thomas wrote: > Hi all, > > I've written some glue

Using Django authentication for phpBB

2008-12-10 Thread Giles Thomas
Hi all, I've written some glue code so that people who are logged in to the Django portions of our website [1] can post to our phpBB-based forums without having to log in again - basically a django-auth plugin for phpBB. I'm wrapping it up as a project on Google Code (MIT license) [2] so

Re: Overwriting Django Authentication / Session Logic

2008-12-01 Thread Alex Koshelev
Have you read this - http://docs.djangoproject.com/en/dev/topics/auth/#other-authentication-sources? On Mon, Dec 1, 2008 at 19:02, Devye <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to integrate a Django app with an in-house developed > webapp. The biggest hurdle is to consolidate the two

Overwriting Django Authentication / Session Logic

2008-12-01 Thread Devye
Hi, I am trying to integrate a Django app with an in-house developed webapp. The biggest hurdle is to consolidate the two sets of users data and session mechanism. I was wondering if it is easy in Django to customize the authentication logic and session logic? If so, how would I go about it? I

Re: Django authentication, virtual hosts, sites and SaaS

2008-02-18 Thread Tim Chase
> 1. I need basecamp-esque URLS i.e. [instance].maindomain.com where > [instance] is an "instance" of the application. I've looked at the > sites feature for this but I'm not 100% sure it's suitable with > constraint (2) below. Is there any (optionally anecdotal) evidence > either way to

Django authentication, virtual hosts, sites and SaaS

2008-02-18 Thread Chris Smith
I'm looking for a solution (preferably off the shelf) which will allow several things to be done at once. I've built a couple of trivial Django sites so I have a little experience, but a lot with Python. I'm building a *big* high traffic SaaS (sorry for the buzzword) type application to replace

Re: django authentication with trac login

2006-07-11 Thread lawgon
still struggling with this - has anyone done it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this

django authentication with trac login

2006-07-06 Thread lawgon
i was trying to get the new multiauth by apache against django users working with the trac login. But i keep getting 500 errors. On looking at the apache logs, the errors come in different places each time. 'module has no attribute auth' at one time, cannot import User from auth.models at another

  1   2   >