newforms: Need ability to pass a RequestContext to FormPreview

2006-12-28 Thread Vadim Macagon
Hi, I'm trying to use FormPreview in the formtools module, however it only passes a regular Context to templates, whereas my templates rely on a RequestContext. I've made some changes to accommodate my templates, more info and a diff can be found here: http://code.djangoproject.com/ticket/3

Re: newforms: Need ability to pass a RequestContext to FormPreview

2006-12-29 Thread Vadim Macagon
Adrian Holovaty wrote: In [4259], I changed FormPreview to use RequestContext by default. Thanks for the report! That will suit me just fine :) Thanks, -+ enlight +- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: newforms: Need ability to pass a RequestContext to FormPreview

2006-12-29 Thread Vadim Macagon
Adrian Holovaty wrote: In [4259], I changed FormPreview to use RequestContext by default. Thanks for the report! Dang, just noticed you forgot to add this to preview.py: from django.template.context import RequestContext I'd make a patch but it'll probably take you longer to apply it than

Subversion change notifications

2006-12-29 Thread Vadim Macagon
Hi, Sourceforge.net allows developers to subscribe to a Subversion/CVS change notification list for any project. It makes it easier to stay up to date when working with an ever evolving code base. Is there something similar for the Django SVN? I couldn't find any mention of it anywhere. Ch

Re: Subversion change notifications

2006-12-29 Thread Vadim Macagon
Thanks :) The Django-updates group is exactly what I was looking for. This link should be more prominently displayed, perhaps here: http://www.djangoproject.com/documentation/contributing/ and here: http://www.djangoproject.com/documentation/ I just did a Google search to find if it's ment

Re: Encouraging contributed documentation

2007-01-23 Thread Vadim Macagon
+1 I'd also like to see a script that generates a CHM (Compiled HTML Help) from the official Django ReST docs. The CHM could then be included as part of the installer-based release for Windows users. One of these days I'll probably get fed up waiting for the pages on djangoproject.com to load

newforms: accessing help_text in a template

2007-01-30 Thread Vadim Macagon
Hi, Currently to access help_text for a field in a template I have to do this: {{ form..field.help_text }} would be nicer if I could just do this: {{ form..help_text }} A two line change to BoundField will do the trick, I can submit a patch if desired. -+ enlight +- --~--~-~--~---

IntegrityError patch

2007-02-08 Thread Vadim Macagon
Just wanted to point out that I submitted a small patch to make IntegrityError available directly from django.db. I've tested it on the postgresql and postgresql_psycopg2 backends, and it'd be nice if people could test it on the other backends. Tha

Re: changeset 4394 broke QuerySet.iterator() interface

2007-02-08 Thread Vadim Macagon
Gary Wilson wrote: > google ate "[4394]" off of my subject > Err, no it didn't. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@goog

Re: IntegrityError patch

2007-03-06 Thread Vadim Macagon
Vadim Macagon wrote: > Just wanted to point out that I submitted a small patch to make > IntegrityError available directly from django.db. > > <http://code.djangoproject.com/ticket/3450> > > I've tested it on the postgresql and postgresql_psycopg2 backends, and &