Re: Get authorization and list users in auth via http request

2019-09-12 Thread Ezequias Rocha
Thank you Ronit. Now I implemented the create_user via web request. Django Rocks! Ezequias. On Thursday, September 12, 2019 at 4:27:03 AM UTC-3, Ronit Mishra wrote: > > Hi, > > Its possible. And from what I am able to understand you're looking to > create restful services for authentication a

Re: Get authorization and list users in auth via http request

2019-09-12 Thread Ronit Mishra
Hi, Its possible. And from what I am able to understand you're looking to create restful services for authentication and registration. Your solution: Django Rest Framework Its a very detailed procedure so I can't point out all the points here, but you can follow any decent tutorial and get it ac

Re: Get authorization and list users in auth via http request

2019-09-11 Thread Ezequias Rocha
Dear Gabriel I have already access to the get method but not the creation service. I will have a creation of thousands of users from another system I am integrating. Would be nice if I have an easy way to create this creation way by loading from a list. Have you any idea how could I perform th

Re: Get authorization and list users in auth via http request

2019-09-09 Thread Gabriel Araya Garcia
...and why you don't use the Django admin app ? El lun., 9 sept. 2019 a las 15:00, Ezequias Rocha () escribió: > Hi everyone > > Could someone tell me if Django encourages the community to implement > auth/user authentication and user creation via http requests? > > I would like to *create *new

Get authorization and list users in auth via http request

2019-09-09 Thread Ezequias Rocha
Hi everyone Could someone tell me if Django encourages the community to implement auth/user authentication and user creation via http requests? I would like to *create *new users and *get users list* via a simple POST/GET http requests. Have someone did it here? Sincerely Ezequias -- You re

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
ok, thank you. I try the users logged in xx minutes ago code in stead of messing with the sessions. On Monday, March 4, 2013 3:10:19 PM UTC-5, Shawn Milochik wrote: > > No, because that will just invalidate the cookie so that they'll have to > log in again when they reopen their browser. > > It

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Shawn Milochik
No, because that will just invalidate the cookie so that they'll have to log in again when they reopen their browser. It doesn't magically notify your Django app that the browser closed. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
Would this do the trick? SESSION_EXPIRE_AT_BROWSER_CLOSE = True I am still kinda new to django, about a month now. :) On Monday, March 4, 2013 2:11:50 PM UTC-5, Shawn Milochik wrote: > > On Mon, Mar 4, 2013 at 2:05 PM, frocco > > wrote: > > So are you saying the best I can do is show users th

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Shawn Milochik
On Mon, Mar 4, 2013 at 2:05 PM, frocco wrote: > So are you saying the best I can do is show users that logged in xx minutes > ago, even through they may have logged off? Actually, yes. Because most users never log out. They just close their browsers. So even if you did look at the session data it

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
So are you saying the best I can do is show users that logged in xx minutes ago, even through they may have logged off? Thank you On Monday, March 4, 2013 1:06:07 PM UTC-5, Shawn Milochik wrote: > > On Mon, Mar 4, 2013 at 1:02 PM, frocco > > wrote: > > ok, do you have a better idea on how I mi

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Shawn Milochik
On Mon, Mar 4, 2013 at 1:02 PM, frocco wrote: > ok, do you have a better idea on how I might do this? > user is used to seeing this from a PHP site that I am porting. > I use this at the shell sometimes: from django.contrib.auth.models import User for user in User.objects.order_by('-last_login')

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
that query >>>> for session in sessions: >>>> data = session.get_decoded() >>>> uid_list.append(data.get('_**auth_user_id', None)) >>>> >>>> # Query all logged in users based on id list &g

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Venkatraman S
uery >>> for session in sessions: >>> data = session.get_decoded() >>> uid_list.append(data.get('_**auth_user_id', None)) >>> >>> # Query all logged in users based on id list >>> return User.objects.filter(id__

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
all logged in users based on id list >> return User.objects.filter(id__in=uid_list) >> >> >> On Sunday, March 3, 2013 11:49:09 AM UTC-5, frocco wrote: >>> >>> I want to list users currently on our site. >>> Would I use the last login date time? >

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Venkatraman S
uid_list.append(data.get('_auth_user_id', None)) > > # Query all logged in users based on id list > return User.objects.filter(id__in=uid_list) > > > On Sunday, March 3, 2013 11:49:09 AM UTC-5, frocco wrote: >> >> I want to list users currentl

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
: data = session.get_decoded() uid_list.append(data.get('_auth_user_id', None)) # Query all logged in users based on id list return User.objects.filter(id__in=uid_list) On Sunday, March 3, 2013 11:49:09 AM UTC-5, frocco wrote: > > I want to list users currently on our

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-03 Thread Bulkan
at 3:49 AM, frocco wrote: > I want to list users currently on our site. > Would I use the last login date time? > > If so, what should the query look like? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Django

Is there a way to list users that have logged in within the pass 30 minutes

2013-03-03 Thread frocco
I want to list users currently on our site. Would I use the last login date time? If so, what should the query look like? Thanks -- 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: List Users

2012-04-05 Thread Tom Evans
On Thu, Apr 5, 2012 at 3:00 PM, coded kid wrote: > I’m trying to iterate through user list member in tweepy. When I tried > it out, it’s not displaying any user objects! The webpage is just > blank. Below are my codes: Have you tried spamming the tweepy mailing list instead of the Django one? ht

List Users

2012-04-05 Thread coded kid
I’m trying to iterate through user list member in tweepy. When I tried it out, it’s not displaying any user objects! The webpage is just blank. Below are my codes: Views: def listmem(request): consumer_key="XXX" consumer_secret="XXX" access_token="XXX" access_token_secret="XXX"

Re: List users that are currently logged in

2009-05-10 Thread Addy Yeow
ong path. Any ideas? > -- > View this message in context: > http://www.nabble.com/List-users-that-are-currently-logged-in-tp23472237p23472237.html > Sent from the django-users mailing list archive at Nabble.com. > > > > > --~--~-~--~~~---~--~

List users that are currently logged in

2009-05-10 Thread jd20878
I am trying to list all users that are currently logged in. I am having trouble getting this right. I have been playing around with sessions but am afraid that I'm running down the wrong path. Any ideas? -- View this message in context: http://www.nabble.com/List-users-that-are-curr

admin: list users of a group

2009-01-30 Thread Thomas Guettler
Hi, sometimes it would be nice to see all users of a group. I think it would be nice to have this in the admin page. Do other django users miss this, too? I know that it is very easy to write a view for this, but it would be even better if it is a part of the django admin. Thomas PS: Of cou