Documentation error?

2011-03-14 Thread Adam Knight
On the description for django.contrib.auth.views.login at http://docs.djangoproject.com/en/1.2/topics/auth/#django.contrib.auth.views.loginthe documentation says: If you are using alternate authentication (see Other authentication sources) > you can pass a custom authentication form to the login v

Re: no attribute 'save_m2m'

2010-01-18 Thread Adam Knight
Ensure it's the save() method on the FORM and not the MODEL. :) On Mon, Jan 18, 2010 at 12:23 PM, GoSantoni wrote: > Hi Nek4life, > > Unfortunately that didn't work. > > TypeError at /blog/new/ > save() got an unexpected keyword argument 'commit' > Request Method: POST > Request URL:    http://lo

Re: Multiple level aggregate

2009-11-18 Thread Adam Knight
hem with the conditions you want and then apply the aggregate operation to that. Adam Knight codepoetry - http://www.codepoetry.net/products/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...

Re: Redirect problems

2009-11-18 Thread Adam Knight
, {'url': '/admin/wkw1/lawyer/'}), > ) > > but this too results in a server error. > > Any suggestions? > > Thanks. Order matters. urlpatterns = patterns('', (r'^wkw1/$', 'sw1.wkw1.views.index'), ) urlp

Drupal migration

2009-11-17 Thread Adam Knight
mands/convertdrupal.py) Adam Knight codepoetry - http://www.codepoetry.net/products/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email t

Re: How to use subqueries in django

2009-11-17 Thread Adam Knight
pics/db/queries/#complex-lookups-with-q-objects Adam Knight codepoetry - http://www.codepoetry.net/products/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsub

Re: Help with manage.py syncdb

2009-11-17 Thread Adam Knight
something to make it more complicated! Woo! More: http://stackoverflow.com/questions/1380281/set-snow-leopard-to-use-python-2-5-rather-than-2-6 Adam Knight codepoetry - http://www.codepoetry.net/products/ On Nov 16, 2009, at 11:40 PM, jd_python wrote: > What am I possibly doing wrong?