Re: Questions about session

2016-01-27 Thread Lorenzo Bernardi
Hello, If you wish to keep some data always visible specially i the base template, then why not make the base template a single page app and then through ajax lode other pages? I thought of using ajax but I'm not very familiar with it. But I didn't think of making the base page a single app

Re: Questions about session

2016-01-27 Thread Lorenzo Bernardi
Hello, I answered a very similar question to this a few days ago: https://groups.google.com/forum/#!msg/django-users/L3pUwDYs6jw/bSYVs81tEwAJ thanks for the link. I agree with you for the fact that updating sess

Re: Questions about session

2016-01-27 Thread Krishnakant
If you wish to keep some data always visible specially i the base template, then why not make the base template a single page app and then through ajax lode other pages? You can also use angular.js for such work. happy hacking. Krishnakant. On Wednesday 27 January 2016 03:36 AM, Lorenzo Berna

Re: Questions about session

2016-01-26 Thread James Schneider
On Tue, Jan 26, 2016 at 2:06 PM, Lorenzo Bernardi < lorenzo.berna...@lpn.cnrs.fr> wrote: > Hello, > > I'm writing an app which needs authentication and I was wondering if the > information about the user should be put in request.session. My app deals > with the access to certain equipments and e

Questions about session

2016-01-26 Thread Lorenzo Bernardi
Hello, I'm writing an app which needs authentication and I was wondering if the information about the user should be put in request.session. My app deals with the access to certain equipments and every user has a different set of equipment it can sees. Should I put the list of equipment in