Re: Template-04's scope

2008-11-25 Thread Steve Holden
Jacob Kaplan-Moss wrote: > On Tue, Nov 25, 2008 at 10:11 AM, Johannes Dollinger > [...] >> * I always felt the API for custom tags is too verbose. >> > > There's almost universal agreement on this point :) > > It's unfortunately pretty tricky to do in a backwards-compatible way: > we've sorta

Re: order_by with distinct behavior in orm

2008-11-19 Thread Steve Holden
Malcolm Tredinnick wrote: [...] > Hopefully, MySQL will fix their bug one day. That's the way to resolve > this. > Just so long as nobody holds their breath waiting ... regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www

Re: Using a HTML to fire off a data processing script on the server (REST or SOAP)

2008-11-19 Thread Steve Holden
Shao: This is a very general question, and is only indirectly connected to Django, since the task could be performed in most web frameworks. However, the django-dev list is reserved to discussions about the development *of* Django. For questions about development *with* Django you should address

Re: Proposal: Composite Foreign Keys

2008-11-16 Thread Steve Holden
Frank Liu wrote: > I guess i thought the core developers would've added this proposal to > the list (judging from the title of this thread). > > Regardless, even if this had been added, it would've been given a -1 > anyway, judging from the readiness of this feature. > > More importantly though, m

Re: Multi-Threaded Dev Server

2008-11-16 Thread Steve Holden
Julian wrote: > [...] I think some people want to use snippets like that [...] Wouldn't you agree that's a pretty feeble use case for something as potentially disruptive as multi-threaded serving? Particularly when the CherryPy alternative is so readily available. regards St

Re: Proposal: Composite Foreign Keys

2008-11-13 Thread Steve Holden
Malcolm Tredinnick wrote: > On Thu, 2008-11-13 at 23:47 -0500, Steve Holden wrote: > [...] > >>> Maybe be you mean transparently. If so, I think this is a requirement, >>> too, but it's not a problem. We know when the ForeignKey field is >>> spec

Re: Proposal: Composite Foreign Keys

2008-11-13 Thread Steve Holden
ect number > of database columns at table creation time. We have perfect information > when we create the table, which is where this differs from any generic > relations. > [...] Does that apply even to recursive (reflexive) relationships, when the related model must be specified by

Re: contrib.comments: working example must make a boost.

2008-11-07 Thread Steve Holden
y breaks in IE ... > Whatever friends, definitely, it is not the biggest prob we are > facing :) No, but for well-designed web systems good HTML and CSS is important. > I wish you a nice evening and a nice weekend coming. > > Looking forward to hearing from you >

Re: contrib.comments: working example must make a boost.

2008-11-07 Thread Steve Holden
Valery wrote: > Hi all, @mtredinnick, @jacob, @wilson, @ubernostrum > > not sure if any "community boosts" are at all wanted here, but finally > django is not for a closed circle of django-gurus and things are for > the larger audience, isn't it? :) so, why there is no easy-to-launch > example of

Re: 1.0.1 release blockers?

2008-10-31 Thread Steve Holden
Karen Tracey wrote: > On Fri, Oct 31, 2008 at 6:38 AM, mrts <[EMAIL PROTECTED] > > wrote: > > > There has been much reluctancy in letting triagers tag and prioritize > 1.0.1 milestone tickets. Now that 1.0.1 is really close, can we > perhaps discuss what are t

Re: Proposal: Optional {% default %} clause for the {% for %} template tag

2008-10-29 Thread Steve Holden
Jacob Kaplan-Moss wrote: > I'm with Steve:: > > {% for %} ... {% default %} .. {% endfor %} > > ... seems best. > > Agreement is great, but my suggestion was actually {% for %} ... {% empty %} ... {% endfor %} I feel this says more than "default", which requires you to think about whe

Re: Proposal: Optional {% default %} clause for the {% for %} template tag

2008-10-29 Thread Steve Holden
Calvin Spealman wrote: > On Wed, Oct 29, 2008 at 9:48 PM, Dave Smith <[EMAIL PROTECTED] > > wrote: > > I'm wondering who that's going to confuse. It's very clear that > the template language > isn't Python, so I'd think it'd make the most sense to use a >

Re: Determining the active urlpattern for navigational templates

2008-10-16 Thread Steve Holden
Jesse Young wrote: > I'm guessing it's somewhat common (as usual, I think it's common > because I do it) to put several navigational links in a template that > is included from several other templates, e.g.: > > Page 1 > Page 2 > ... > Page N > > But also, it's helpful to indicate where the user c

Re: GET requests should not alter data?

2008-10-15 Thread Steve Holden
Amit Upadhyay wrote: > On Wed, Oct 15, 2008 at 5:17 PM, Ivan Sagalaev > <[EMAIL PROTECTED]> wrote: > >> Amit Upadhyay wrote: >> >>> This is not about specs or what is allowed, rather what is there in >>> actual django. And about implementation goals for django. It is >>> possible to have a

Re: Python 2.6 abstract base classes

2008-10-03 Thread Steve Holden
Malcolm Tredinnick wrote: > On Thu, 2008-10-02 at 10:32 -0400, Marty Alchin wrote: > >> Looking over the new things in Python 2.6, I wonder if there are plans >> to inherit from any of the new abstract base classes in Django. It >> looks (to me) like it could be backwards-compatible, using an i

Re: Denormalisation, magic, and is it really that useful?

2008-09-23 Thread Steve Holden
This appears to be a proposal to re-implement triggers inside Django. I can see there are benefits if the underlying DB platform won't support triggers, but wouldn't triggers be the preferred solution when they're available? That way there is no chance that changes can be made outside the scope o

Re: [Fwd: Documentation: Google-foo lost]

2008-09-20 Thread Steve Holden
Steve Holden wrote: > Jacob Kaplan-Moss wrote: >> On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: >> >>> The question is: is it worth continuing this web-scraping and analysis >>> and potentially extending it to other reference

Re: [Fwd: Documentation: Google-foo lost]

2008-09-20 Thread Steve Holden
Jacob Kaplan-Moss wrote: > On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > >> The question is: is it worth continuing this web-scraping and analysis >> and potentially extending it to other reference mechanisms I am unaware >> of? I

Re: [Fwd: Documentation: Google-foo lost]

2008-09-19 Thread Steve Holden
Jacob Kaplan-Moss wrote: > On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > >> The question is: is it worth continuing this web-scraping and analysis >> and potentially extending it to other reference mechanisms I am unaware >> of? I

Re: [Fwd: Documentation: Google-foo lost]

2008-09-19 Thread Steve Holden
Don Spaulding wrote: > > > On Tue, Sep 16, 2008 at 2:20 PM, Don Spaulding > <[EMAIL PROTECTED] > wrote: > > > Hope it's useful! > > > > and of course it isn't. I forgot my lambdas. Doh! > That's a great start. I noticed that many Google links are to fragments, and w

Re: I want a pony: Django Cheeseshop

2008-09-16 Thread Steve Holden
Malcolm Tredinnick wrote: > On Tue, 2008-09-16 at 05:06 -0700, mrts wrote: > > [...] >> setuptools is a necessary evil for the agile developer who frequently >> tracks updates for the bits he relies upon. Hopefully it will be >> improved (the clamor around it is ever-ongoing), but unless we wan

Re: Install over old level produces mutant

2008-09-16 Thread Steve Holden
Fredrik Lundh wrote: > Karen Tracey wrote: > > >> We've had at least three people run into a problem (#9090) after >> installing 1.0 over an old level. Now, we do document that before >> installing you should remove any old level. But I find the results when >> you don't rather odd. It's n

Re: Install over old level produces mutant [solved!]

2008-09-16 Thread Steve Holden
Steve Holden wrote: [...] > I've just done an install of 1.0 on my Python 2.6 alpha2 distribution > and I see, for example, that .../django/views/static.py is dated > 12/17/2007. In this case there wasn't a previous installation, so I > can't verify that the comp

Re: Install over old level produces mutant [solved!]

2008-09-16 Thread Steve Holden
Karen Tracey wrote: > We've had at least three people run into a problem (#9090) after > installing 1.0 over an old level. Now, we do document that before > installing you should remove any old level. But I find the results > when you don't rather odd. It's not just old files renamed/deleted in

Re: I want a pony: Django Cheeseshop

2008-09-14 Thread Steve Holden
Martin Diers wrote: > On Sep 13, 2008, at 7:23 PM, Russell Keith-Magee wrote: > > >> On Sun, Sep 14, 2008 at 6:35 AM, Martin Diers <[EMAIL PROTECTED]> wrote: >> >>> The answer is community packaging guidelines. Somebody needs to write >>> or adapt an existing doc on how to package django a

Re: I want a pony: Distributed RCS

2008-09-12 Thread Steve Holden
Jacob Kaplan-Moss wrote: [...] > > So, again, sorry about being a dick! > Well at least you're a dick with a proper sense of proportion and the ability to apologize when necessary. Thanks for setting a good example. regards Steve -- Steve Holden+1 571 484 6266 +

Re: I want a pony: Distributed RCS

2008-09-10 Thread Steve Holden
. Very Scary. Close your eyes. Little girls > are screaming. > Well, speaking as an old fart, and something of a stick-in-the-mud, I am interested in using the best possible version control system, but even more interested in something that's easy to use. When you consider attract

Re: I want a pony: Django Cheeseshop

2008-09-10 Thread Steve Holden
mrts wrote: > On Sep 10, 7:12 pm, "Eric Holscher" <[EMAIL PROTECTED]> wrote: > >> your django apps. There is no reason to reinvent the wheel here, especially >> after what Mark talked about at Djangocon (Django being considered seperate >> from the Python community). >> > > Although I don'

Re: Mentoring students

2008-09-05 Thread Steve Holden
/sb/queensland/qut/ > Chris: Any project that was involved with the Google Summer of Code might well be interested in mentoring student projects. You might also want to ask on the django-users list (if you haven't already), as there may be applications of Django that meet your requirements.

DjangoCon

2008-09-05 Thread Steve Holden
Well, since I can't make the conference I hope that everyone who *does* get there has a great time! regards Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, s

Re: Session expiration times

2008-08-20 Thread Steve Holden
fault behavior for every other web framework I've used. Interaction of any kind with the server should be taken as an indication that the session user wants the session to remain alive. At least it's documented, though ... regards Steve -- Steve Holden+1 571 484 6266 +1 800 494

Re: Is URL template tag's syntax going to change?

2008-07-20 Thread Steve Holden
Johannes Dollinger wrote: [...] > Of course that's subjective, everything is. > Really? That's a bit sweeping. "The atomic number of hydrogen is 1" (IMHO?). regards Steve Who just felt like picking this particular nit. Sorry. -- Steve Holden+1 571 484 626

Re: ~Q broken?

2008-07-16 Thread Steve Holden
ry for each row in the outer query, which can get a little expensive. Then later said: > The problem is that the filter you specified was not returning the > correct answer in 0.96. You're asking that Django returns an incorrect > result to make your code faster. It's possibl

Re: Declarative syntax for widgets in ModelForm

2008-07-06 Thread Steve Holden
ields and widgets but we cannot declare them separately. > > > ## Proposal > > To fix this I was thinking along the lines of: > > class ArticleForm(ModelForm): > class Meta: > model = Article > fields = ['author', 'text'] >

Re: Community representation, or, #django user "Magus-" needs to go far away

2008-07-02 Thread Steve Holden
Eric wrote: > Well, you can teach someone to fish without telling them to "get an > f'n fishing pole". > > "Give a man a fish and he will eat for a day. Teach him how to fish and for the rest of his life he will bore you with stories about the one that got away". regards Steve --~--~-

Re: Spam detection

2008-07-02 Thread Steve Holden
here, like I did myself initially. ... and why not have it say "Your post *will* be rejected as spam unless you are registered and logged in"? At the moment it sounds like you *might* get away with an unregistered posting. regards Steve -- Steve Holden+1 571 484 6266 +1 8

Re: Community representation

2008-07-02 Thread Steve Holden
distributor of high-quality information to the IRC channel. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Spam detection

2008-06-26 Thread Steve Holden
Jacob Kaplan-Moss wrote: > On Thu, Jun 26, 2008 at 1:06 PM, Andreas Klöckner > <[EMAIL PROTECTED]> wrote: > >> I tried to submit this bug, but it wouldn't let me--it thought I'm a spammer. >> > > Quoting from the ticket submission page: > > "If you're getting rejected by the spam filter, w

Re: Errors in django/tests/regressiontests/views/fixtures/testdata.json?

2008-06-19 Thread Steve Holden
Russell Keith-Magee wrote: > On Thu, Jun 19, 2008 at 9:04 PM, Peter Melvyn <[EMAIL PROTECTED]> wrote: > >> On 6/19/08, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: >> >> >>> (2) provide a way to manually disable and re-enable integrity checks. If >>> someone with more MySQL-fu than me

Re: extra() and values()

2008-06-11 Thread Steve Holden
Nicolas Lara wrote: > The ticket is in the tracking sistem: #7256. I have claimed it, but am > not planning to start working on it until I'm done with aggregation > (or maybe in EuroPython's sprint), so if anybody bits me to it, it > would be great. > > In that case you would be better off leav

Re: range in templates?

2008-05-27 Thread Steve Holden
I missing? > Well, the first thing you are missing is that the django-dev list is to discuss development *of* Django rather than development *with* Django. You want django-users, just down the corridor :-) regards Steve -- Steve Holden+

Re: Subversion Access

2008-05-07 Thread Steve Holden
;> command in subversion's bin folder: >> >> svn cohttp://code.djangoproject.com/svn/django/trunk/django-trunk >> >> I get these error message: >> >> svn: REPORT request failed on '/svn/!svn/vcc/default' >> svn: REPORT of '/svn/!s

Re: Lock-In

2008-05-04 Thread Steve Holden
y are using, but they laugh when that is suggested. >> >> Has anyone seen a company pull off a switch from a .Net / Sql based >> environment to a Python / MySql sucefully? Where benifits seen? > > > -- Steve Holde

Re: Django port on OpenVMS - Oracle/Rdb backend

2008-05-01 Thread Steve Holden
Don Spaulding II wrote: > > > Collin Grady wrote: >> Steve Holden said the following: >> >>> If you want considered opinions you would do well to wait longer than 51 >>> minutes! >>> >> >> You should check the date as well a

Re: Django port on OpenVMS - Oracle/Rdb backend

2008-05-01 Thread Steve Holden
Jean-François wrote: > Any comment, especially on the transaction model? If you want considered opinions you would do well to wait longer than 51 minutes! regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.

Re: API question for model saving

2008-04-28 Thread Steve Holden
ing code has to change initially. If you want to support the > must insert vs. must update difference, you can add a parameter (or two, > depending on which approach we take) and it's still backwards > compatible. > How do these parameters get set for the above "

Re: API question for model saving

2008-04-28 Thread Steve Holden
yway simply call a modified save with alternative values of the flag (whose names are a little smelly, by the way) is reasonable, I suppose. But it does seem to me that create() and update() are more explicit than save(must_create=True) and/or save(must_update=True). The separate method solu

Re: SVN Milestones

2008-04-20 Thread Steve Holden
Kenneth Gonsalves wrote: > On 20-Apr-08, at 12:47 AM, Steve Holden wrote: > >>> I wouldn't even call the current svn head a beta-quality product >>> >>> >> Which is probably why it isn't yet a beta release? >> > > what

Re: SVN Milestones

2008-04-19 Thread Steve Holden
So would you prefer to have a beta-quality product whose developers >> lie and call it 1.0? >> > > I wouldn't even call the current svn head a beta-quality product > > Which is probably why it isn't yet a beta release? regards Steve -- Steve Holden

Re: floating point django.VERSION element versus adding another element to the tuple

2008-04-18 Thread Steve Holden
t;> consistent format, and one which is easy to turn into a human-readable >> string like "Django 3.2", "Django 1.4-beta3" or "Django >> 2.18-svn28183". >> >> The only question is whether it meets (1). Thoug Without wishing to turn this int