Re: Subversion change notifications

2006-12-29 Thread Adrian Holovaty
On 12/29/06, Vadim Macagon <[EMAIL PROTECTED]> wrote: http://www.djangoproject.com/community2/ Except that I couldn't find a way to get to that page by following any links on djangoproject.com. Perhaps the poor thing got lost? Aha! You've uncovered our was-to-be new community page! Our plan w

Using ~q instead of QNot(q)

2006-12-29 Thread Femtomatt
I am working on a Django project (using the latest dev version, as of a few days ago) in which I use Q objects quite a bit to build up queries dynamically. I like that the binary & and | operators are overloaded to AND and OR queries together with QAnd and QOr, but I was surprised that the unary

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: Subversion change notifications

2006-12-29 Thread limodou
On 12/30/06, Vadim Macagon <[EMAIL PROTECTED]> wrote: 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 S

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: switching to Django from ASP.NET

2006-12-29 Thread Alan Trick
I'm not a .Net user, never have been, but depending on how much old .Net code you have lying around, you might want to look at running Django in IronPython. It runs Python in the .Net CLR so you can get access to all the .Net stuff. Alan Trick On Thu, 2006-12-28 at 22:50 -0800, Mikey wrote: ne

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

2006-12-29 Thread Adrian Holovaty
On 12/29/06, Vadim Macagon <[EMAIL PROTECTED]> wrote: 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 copy/paste this line in :) Whoops! Sorry about that. It's fix

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

"include" wiping out rest of template

2006-12-29 Thread Rory Campbell-Lange
Dear Developers I haven't had a response to this question on the users list -- I hope it is apposite to forward this here. Essentially I would like to embed help text in the bottom of all my page templates and render the embedded "helptext" block through a help page template and 'include's. Em

Re: Number per page functionality in admin.

2006-12-29 Thread ben
Hi there, Did anyone try to apply this patch? I've just installed django on another machine from svn and I think the patch worked fine on the latest revision. Cheers, Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

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

URL design for the admin application

2006-12-29 Thread Mihai Preda
Hi, In the admin application, I remarked these two points concerning the design of the URL space: 1. Mixed elements on the same level (non-homogenous level): http://foo.com/admin/auth/user/1/ http://foo.com/admin/auth/user/2/ http://foo.com/admin/auth/user/add/ As you see, the last level (afte

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

2006-12-29 Thread Adrian Holovaty
On 12/29/06, Vadim Macagon <[EMAIL PROTECTED]> wrote: 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. In [4259], I changed FormPreview to use RequestContext by default. Thanks for the r

Re: newforms: apply_changes

2006-12-29 Thread SmileyChris
On Dec 29, 6:57 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: This wouldn't work, because self.fields is a dictionary of newforms Field objects, *not* database Field objects. The "f.attname" wouldn't be available. It was just concept code to see if there was any merit in the idea. If you th

Re: Enhancement:Open tag cannot support multiline

2006-12-29 Thread Adrian Holovaty
On 12/29/06, medhat <[EMAIL PROTECTED]> wrote: But I am responding mainly to say that it seems that comments {# #} have the same issue; so something like: {# {% if x %} blah blah blah {% endif %} #} will not be commented out. And I think this is a far more common scenario. Just

Re: newforms print unformatted

2006-12-29 Thread [EMAIL PROTECTED]
Thanks a lot. I will do that, it works fine great. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe f

Re: newforms print unformatted

2006-12-29 Thread Felix Ingram
On 29/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi there. When I write forms, I generally prefer to just write them as so: A Form Item 1: Unfortunately, there does not appear to be a method for printing out forms without , or any table tags. Would it be reasonable to