Re: create sql functions before tests

2012-10-27 Thread Zoltan Szalai
Never mind, I just ended up modifying the default postgres template. Altough a setting would be great where you could define the template the test db is created from. On 2012.10.26. 2:04, Zoltan Szalai wrote: Hi, Do you have any idea how could I run some custom sql that creates some C

Re: django registration custom backend

2012-10-27 Thread Bill Freeman
If I were doing this, I would create a view, written (or decorated) to require a new permission (or allowing superuser without the permission) to use, containing a form to collect minimal information, certainly email and username, probably also human name. The form class would have validation

django registration custom backend

2012-10-27 Thread Ian Foote
Hi, I'm trying to write a custom backend for django registration. (http://docs.b-list.org/django-registration/0.8/backend-api.html) I'm using python 2.7 and django 1.4. What I want is for an existing user with suitable permissions to be able to register accounts for new users. The new user

Re: pub_date timezone

2012-10-27 Thread Brendan Carroll
Oh that is a serious case of PEBCAC. Thanks you for your help. Brendan On 27 October 2012 01:33, donarb wrote: > You misspelled 'pub_date' as 'put_date' in your model definition. > > > On Thursday, October 25, 2012 9:30:57 AM UTC-7, BrendanC wrote: >> >> Hi erm >> >> Went