Re: Question on url routing

2014-10-11 Thread robert brook
Can you provide an example of custom logic Thanks On Friday, October 10, 2014 9:56:38 AM UTC-4, Vijay Khemlani wrote: > > I think in those cases you would need to add some custom logic to your > view to check whether the URL is valid for the "step" the user is in the > workflow. > > On Fri, Oct

Re: Writing tests for a custom auth

2014-10-11 Thread Russell Keith-Magee
Hi Valery, You probably don't need to reproduce everything that is labeled @skipIfCustomUser - those tests are the "core" tests to make sure the basic auth mechanisms work as expected. The remaining tests are the ones that exist to make sure that a couple of key patterns in custom Users work as ex

Re: Postgres database server

2014-10-11 Thread Tom Lockhart
On Oct 11, 2014, at 10:10 AM, sheyda kianimehr wrote: > Hi guys I have a problem. > I am so new in Django and Postgres > > I am installed python, django, postgres on Ubuntu (acording to > https://docs.djangoproject.com/en/1.7/intro/tutorial01/) > but I have problem in seting up The development

Postgres database server

2014-10-11 Thread sheyda kianimehr
Hi guys I have a problem. I am so new in Django and Postgres I am installed python, django, postgres on Ubuntu (acording to https://docs.djangoproject.com/en/1.7/intro/tutorial01/) but I have problem in seting up The development server, I see password for postgres user error after typing this is

Re: Writing tests for a custom auth

2014-10-11 Thread Valery Melou
Thanks for your answer Russell. I've been browsing the django.contrib.auth.test module and I was wondering if I should just rewrite all tests marked @sikpIfCustomUser. If so, there is a lot of work to do. Anyway I will start by checking those marked @override_settings(AUTH_USER_MODEL='auth.Exten