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
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
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
...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
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
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
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
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
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
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
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')
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
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__
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?
>
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
:
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
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
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
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
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"
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.
>
>
> >
>
--~--~-~--~~~---~--~
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
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
23 matches
Mail list logo