Hi,
You will have to implement your own authentication backend to make that
work.
See here for an example:
https://chrisbartos.com/articles/how-to-implement-custom-authentication-with-django-rest-framework/
Regards,
Andréas
2017-12-29 5:25 GMT+01:00 Mukul Mantosh :
On 29/12/2017 3:08 PM, James Schneider wrote:
However, the same treatment fails on my Windows runserver dev
platform. Brand new virtualenv for Py27 and Py36 still fail to
show the little browse link on the right-hand end of the Source field.
Have you verified that your Windows
Django Rest Framework JWT
(http://getblimp.github.io/django-rest-framework-jwt/) as specified that
JWT token can be obtained by passing username and password.
Example:
$ curl -X POST -d "username=admin=password123" http://localhost:
8000/api-token-auth/
How to obtain the JWT Token using only
However, the same treatment fails on my Windows runserver dev platform.
Brand new virtualenv for Py27 and Py36 still fail to show the little browse
link on the right-hand end of the Source field.
Have you verified that your Windows virtualenv is not including the global
system Python libraries
The problem is in your HTML template.
Your form tag really only has to be this (the action attribute should be a URL;
otherwise, it assumes the current URL):
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Steven Meyer
Sent: Thursday, December 28, 2017
Further to this, it is now working nicely on the staging server - Ubuntu
16.04 Apache 2.2 vhost Python 2.7 mod-wsgi
The problem was related to not uninstalling django-tinymce before
installing django-tinymce4-lite and similarly with
django-filebrowser-no-grappelli.
So it looks like your
Thanks James.
I heard of serialization in REST but I haven't played around with it.
That's why I didn't know the exact terms of what I am doing.
On Thu, Dec 28, 2017 at 5:44 AM, James Schneider
wrote:
>
>
> On Dec 27, 2017 1:02 PM, "tango ward"
Hi Sakkhar,
Django can "run" in any directory. You need to install it somewhere on your
system (we use /usr/local/ here) and then wrap the code around a
WSGI exposer (like uwsgi or gunicorn). Then you "plug" your webserver to
the wsgi exposer via socket or http port.
It's not like any PHP-like
What directory do I need to put the files in?
I tried public_html but when I put the files there and clicked on setup.py, it
didn't start the script.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
Can you elaborate question? Please add some background for it.
---
Krishnasagar
On Thu, Dec 28, 2017 at 1:40 PM, Mukul Mantosh
wrote:
> How to get JWT Token in DRF using only mobile number as the parameter
> instead of email and password..
>
> --
> You received this
How to get JWT Token in DRF using only mobile number as the parameter
instead of email and password..
--
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
11 matches
Mail list logo