Re: Upload file IN DJANGO

2014-10-15 Thread Vignesh Sunder
I recently implemented this using a third party library which in turn proved to be more beneficial than expected, and made things very flexible & effortless. The implementation did not take more than 2 hours (installation + integration into project + interaction with my existing model-structure). I

Re: Why is a username required for a User?

2013-04-09 Thread Vignesh Sunder
Is your new 'Users' class defined in an 'auth' module/app inside your project? I guess the problem here is that you are supposed to refer to the module containing the 'models.py' in which you have defined 'Users' class. For example, if your module/app is 'mysite' and you have defined 'Users' clas

Re: facebook login problem

2012-02-29 Thread Vignesh Sunder
This might help you in managing the session. I had a similar problem a year ago and used the following snippet: http://djangosnippets.org/snippets/2065/ Cheers! On Wed, Feb 29, 2012 at 5:29 PM, dummyman dummyman wrote: > Hi , i am using django framework at the back end > > I have used facebook

Re: 3-legged-OAuth Logout

2011-07-26 Thread Vignesh Sunder
I thought a lot about this when I developed my website (with Facebook as the Server and my django-powered website as the Consumer). And what I did was include a url to Facebook after the user logged out of my website. For those interested, you are invited to check out http://www.thotvote.com. It h

Re: 3-legged-OAuth Logout

2011-07-25 Thread Vignesh Sunder
Thanks for the reply..But I feel this could be a security issue, considering the fact that the user (say user1) would not be aware of the fact that he/she has not yet been logged out of Twitter. If another user (say user2) gets hold of the system before user1's cookie/session gets timed out, and ha

3-legged-OAuth Logout

2011-07-25 Thread Vignesh Sunder
Hi. I was just curious to know about the logout functionality of OAuth..When a User logs out from the Consumer (After 3-legged OAuth login) site, the User's session happens to get flushed. But I believe this happens only on the Consumer side. However, if the User immediately tries to connect to the