Custom authentication backend

2013-07-18 Thread Rok Jaklič
Hi, if I write custom authentication backend, do I need to create user in local database so that method get_user can find it? Can I avoid creating user in local database? Rok -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Custom authentication backend

2013-07-19 Thread Rok Jaklič
Found an answer here: http://stackoverflow.com/questions/10874675/why-does-django-need-a-database-for-custom-authentication-backends On Thursday, July 18, 2013 1:12:04 PM UTC+2, Rok Jaklič wrote: > > Hi, > > if I write custom authentication backend, do I need to create user in >

Custom auth backend and importing custom user model

2013-08-12 Thread Rok Jaklič
Hi, I wrote custom auth backend, however when I try to import custom user model I get an error like: ImportError: cannot import name "CustomUser" even though I have in custom_auth.py from users.models import CustomUser. I found out that custom_auth.py is called before custom models. Any

KeyboardInterrupt on production

2014-09-05 Thread Rok Jaklič
Hi, on our production environment we get random KeyboardInterrupt exceptions being thrown (Bad gateway in browser), but we do not know where to even start to look. We went through our raised exceptions but everything seems to be ok there... Usually we get this if we click on links fast on

Re: KeyboardInterrupt on production

2014-09-06 Thread Rok Jaklič
ich is being reported as a KeyboardInterrupt > exception by django. > > Cheers > > François > > On Sep 5, 2014, at 4:03 AM, Rok Jaklič <rja...@gmail.com > > wrote: > > > Hi, > > > > on our production environment we get random KeyboardInterr

Re: How to update a live / deployed Django project?

2016-02-11 Thread Rok Jaklič
We are using two git branches, one for development and master. When dev branch is good enough, we merge it to master and then we have a script which does git pull and restarts uwsgi. Rok On Wednesday, February 10, 2016 at 9:50:22 AM UTC+1, Tobias Dacoir wrote: > > We've build a small web