Get authorization and list users in auth via http request

已查看 29 次
跳至第一个未读帖子

Ezequias Rocha

未读,
2019年9月9日 14:00:182019/9/9
收件人 Django users
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

Gabriel Araya Garcia

未读,
2019年9月9日 18:32:282019/9/9
收件人 django...@googlegroups.com
...and why you don't use the Django admin  app ? 

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eb99b343-bf08-47da-9a5a-dc1bf0ccb797%40googlegroups.com.


--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

Ezequias Rocha

未读,
2019年9月11日 16:30:342019/9/11
收件人 Django users
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 this batch loading of users from scratch (and without any register form)?

Sincerely
Ezequias.


On Monday, September 9, 2019 at 7:32:28 PM UTC-3, Gabriel Araya Garcia wrote:
...and why you don't use the Django admin  app ? 

El lun., 9 sept. 2019 a las 15:00, Ezequias Rocha (<ezequi...@gmail.com>) 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 users and get users list via a simple POST/GET http requests.

Have someone did it here?

Sincerely
Ezequias

--
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...@googlegroups.com.

Ronit Mishra

未读,
2019年9月12日 03:27:032019/9/12
收件人 django...@googlegroups.com
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 accomplished.

Here is one for you: https://wsvincent.com/django-rest-framework-user-authentication-tutorial/ 

Regards, 
Ronnie  

To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aa7d2395-b954-4587-a34a-54c2ba08e83c%40googlegroups.com.

Ezequias Rocha

未读,
2019年9月12日 10:50:312019/9/12
收件人 Django users
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 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 accomplished.

Here is one for you: https://wsvincent.com/django-rest-framework-user-authentication-tutorial/ 

Regards, 
Ronnie  

回复全部
回复作者
转发
0 个新帖子