Can't redirect using HttpResponseRedirect with a form in a template inclusion tag

2008-03-06 Thread A Hampton
I must be missing something, because I'm unable to redirect from a template tag. On my page, I want a form. There is only one box for input -- page number. The visitor enters a page number, it jumps to that page of the site. Instead of having to write it in every view, I wrote an inclusion_tag

Re: Can't redirect using HttpResponseRedirect with a form in a template inclusion tag

2008-03-07 Thread A Hampton
Thanks, I wish I had asked the day before. I was getting very frustrated about it. I moved it to the view and now it works perfectly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

SQLite iregex and regex

2008-04-09 Thread A Hampton
I am using sqlite as my development server, and as my production server. On both I am running the 0.97-pre-SVN-7409 version of Django. I have a query that works in development, but not on production. The query is: words=Word.objects.filter(title__iregex=r'^[xyz]$+').order_by('- length', 'tit