yes
On Tue, Sep 20, 2022 at 9:49 AM Jackson Patrick
wrote:
> Do i need to pass token in headers?
>
> On Tue, 20 Sep, 2022, 9:44 am Mohammad Ehsan Ansari,
> wrote:
>
>> make sure you have listed auth as jwt and added permission class for
>> authentication
>>
>> On Monday, 12 September 2022 at
yes you need
On Tue, 20 Sept 2022 at 09:49, Jackson Patrick
wrote:
> Do i need to pass token in headers?
>
> On Tue, 20 Sep, 2022, 9:44 am Mohammad Ehsan Ansari,
> wrote:
>
>> make sure you have listed auth as jwt and added permission class for
>> authentication
>>
>> On Monday, 12 September
Do i need to pass token in headers?
On Tue, 20 Sep, 2022, 9:44 am Mohammad Ehsan Ansari,
wrote:
> make sure you have listed auth as jwt and added permission class for
> authentication
>
> On Monday, 12 September 2022 at 09:52:22 UTC+5:30 jacks...@gmail.com
> wrote:
>
>> I have used simple JWT
make sure you have listed auth as jwt and added permission class for
authentication
On Monday, 12 September 2022 at 09:52:22 UTC+5:30 jacks...@gmail.com wrote:
> I have used simple JWT for authentication and i have successfully logged
> in and am getting tokens also. But when i do a
I have used simple JWT for authentication and i have successfully logged in
and am getting tokens also. But when i do a request.user in backend i get
"Annonymous user".
Tried passing Authorization header in axios post in FE REACT but it throws
error. Am setting both refresh and access in a state
Hi,
You may add a checkbox into your form with comment, "Post anonymously".
And then in view check this value and if so - leave Post's user field blank.
Regards,
V.
On Thursday, June 27, 2019 at 4:22:01 PM UTC+3, Gaurav Sahu wrote:
>
> Hy, I have a Django blog app. I want to add a feature in
Hy, I have a Django blog app. I want to add a feature in which a registered
user can add a post anonymously. But I couldn't figure out how to do it.
Anybody help me how can I implement this feature? It will be a great help.
Thanks in advance.
--
You received this message because you are
On woensdag 13 juni 2018 14:40:05 CEST Siddharth Srivastava wrote:
> Thanks Anthony for your prompt reply. current implementation is that i am
> using django orm query to pull the user cart details and cart id(session
> key) is the key so when user switch from anonymous
> user to
with the new session key.
On 13/06/18 13:40, Siddharth Srivastava wrote:
Thanks Anthony for your prompt reply. current implementation is that
i am using django orm query to pull the user cart details and cart
id(session key) is the key so when user switch from anonymous
user to actual user then i
Thanks Anthony for your prompt reply. current implementation is that i am
using django orm query to pull the user cart details and cart id(session
key) is the key so when user switch from anonymous
user to actual user then i loses the data came from the query.
so when user gets authenticated
On dinsdag 12 juni 2018 12:01:32 CEST Siddharth Srivastava wrote:
> so the scenario is that whenever anonymous
> user check out and mapped data against that session id is purged. Is there
> any mechanism to save anonymous user session data even after user logs in.
> kindly provide e
Srivastava wrote:
Hi ,
i was writing small ecommerce application in django framework. so i
was trying to implement add to cart functionality like that if user is
anonymous user then selected products should be mapped to it's session
id which is act. cart id in models. so the scenario
Hi ,
i was writing small ecommerce application in django framework. so i was
trying to implement add to cart functionality like that if user is
anonymous user then selected products should be mapped to it's session id
which is act. cart id in models. so the scenario is that whenever anonymous
Hello,
I would like to gather the information on how many minutes/hours spent by
anonymous users and registered users on my app. On quick google I found few
ways to do it -
1. Django-tracking : https://github.com/codekoala/django-tracking
2. Django-tracking2 :
gt;
> Anyone knows how to capture a geo-coordinate of an anonymous user
> after his insert your address in an input? Using a google api?
>
> Thanks so much
>
> --
> Ricardo Lapa Dani
>
> --
> You received this message because you are subscribed to the Google Groups
>
Hello everyone,
Anyone knows how to capture a geo-coordinate of an anonymous user
after his insert your address in an input? Using a google api?
Thanks so much
--
Ricardo Lapa Dani
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
[BACKEND_SESSION_KEY] = user.backend
request.user = user
user is a custom object here which does not derive from Dj\ango's auth
User class.
On subsequent requests, request.user is anonymous user. What am I
missing?
However, I can get my user if I save it in the session manually. but I
am worried how
users can use all features of the site while
> > Anonymous user should be able to use some portion of the site. When
> > django makes a request for an authenticated user, it creates a
> > request.user object that is derived from django's User class, while
> > the same
On Mon, Apr 5, 2010 at 3:32 PM, zenr <zenr...@gmail.com> wrote:
> In my application, I used django-registration to allow users to
> login. Authenticated users can use all features of the site while
> Anonymous user should be able to use some portion of the site. When
> djan
Hi
In my application, I used django-registration to allow users to
login. Authenticated users can use all features of the site while
Anonymous user should be able to use some portion of the site. When
django makes a request for an authenticated user, it creates a
request.user object
i can't understand you well but if you enable auth system and session system
you already have anonymous user ,
for example you can find out the current user in a view with request.user .
if you did not log in then user must be anonymous
--
You received this message because you are subscribed
How can I just enable anonymous user in Django?
I mean, what is the minimum I should do to be logged in as anonymous
first time I go to my site?
Regards, Arshavski Alexnder.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
On Jun 11, 2:22 am, soniiic wrote:
> use session_messageshttp://code.google.com/p/django-session-messages/
>
> I'm using it myself at yourxisity.com and it works fine :)
Thanks. This is sufficient enough.
Cheers.
--~--~-~--~~~---~--~~
You
On Wed, Jun 10, 2009 at 11:22 AM, soniiic wrote:
>
> use session_messages http://code.google.com/p/django-session-messages/
>
> I'm using it myself at yourxisity.com and it works fine :)
> >
>
This is the topic of ticket 4604:
http://code.djangoproject.com/ticket/4604.
use session_messages http://code.google.com/p/django-session-messages/
I'm using it myself at yourxisity.com and it works fine :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On Jun 10, 6:09 am, Joshua Partogi <joshua.j...@gmail.com> wrote:
> How do we add request.user.message_set for Anonymous user?
I would imagine that you would play with session data instead to store
that information (see
http://docs.djangoproject.com/en/dev/topics/http
Dear all,
How do we add request.user.message_set for Anonymous user? The point is I
want to display a successful message after submitting form for Anonymous
user.
Thanks for the hint.
Best regards,
--
Join Scrum8.com.
http://scrum8.com/member/jpartogi/
http://scrum8.com/blog/jpartogi/
http
Hi, and thanks for your ideas.
Creating a default user and authenticating to that automatically by my
own middleware seems like a way to go. I'd like to avoid doing custom
forms and Django's admin system could relieve me from that.
Not requiring login for unprivileged operations eases learning
Hi Jussi,
On Fri, 2006-08-11 at 04:37 -0700, jarpis wrote:
[...]
> Problem is, AnonymousUser seems to be a special case and I can't figure
> out how to give permissions to it.
You can't. An AnonymousUser object is not a real user and only exists
for users that do not exist within the system.
Hi.
I'm trying to allow admin generated pages for unauthenticated
(anonymous) users. This is for intranet app and I'd only need to open
some models. I'm using 0.95 release version and development server.
Problem is, AnonymousUser seems to be a special case and I can't figure
out how to give
30 matches
Mail list logo