Re: django.db.connection request - add a key

2008-06-13 Thread Collin Grady
hiwd said the following: > 'index': self.db.queries.__len__() Shouldn't that be len(self.db.queries) ? :) -- Collin Grady We are not anticipating any emergencies. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

django.db.connection request - add a key

2008-06-13 Thread hiwd
Small request, just for debugging purposes... When viewing the generated sql using django.db.connection.queries array I want to see the index of the query, the ID if you will, to help me debug. Currently, class CursorDebugWrapper's execute method is building the array of dicts with the keys

Re: Community search [was: Django community aggregator and non-English posts]

2008-06-13 Thread [EMAIL PROTECTED]
> Haven't tested yet, but Brian Rosner have a django-search > too:http://code.google.com/p/django-search/ Understandably confusing, but that's more of alternative for the reusable app djangosearch[1] and not for the site http://djangosearch.com/ [1] http://code.google.com/p/djangosearch/ It's

Re: Community search [was: Django community aggregator and non-English posts]

2008-06-13 Thread Eduardo O. Padoan
On Fri, Jun 13, 2008 at 8:31 PM, Empty <[EMAIL PROTECTED]> wrote: > > Django Search (http://djangosearch.com/) – great aggregator and Google > custom search of community blogs and projects by Alex Aster. Also > check out his blog for some interesting posts. > > Django Blog Search >

Re: Community search [was: Django community aggregator and non-English posts]

2008-06-13 Thread Empty
Django Search (http://djangosearch.com/) – great aggregator and Google custom search of community blogs and projects by Alex Aster. Also check out his blog for some interesting posts. Django Blog Search (http://www.google.com/coop/cse?cx=012993260288651340677%3A3fwy29agfd4) by Kevin Fricovsky

In-Browser Testing with TestCase

2008-06-13 Thread Devin
I've been working on testing here at Disqus. Since a lot of our application is javascript, I've been working with Selenium. So to integrate Selenium tests with the test framework already in place, I've added live server support for TestCase for ticket 2879.

Re: Django community aggregator and non-English posts

2008-06-13 Thread Ludvig Ericson
On Jun 13, 2008, at 17:58, Tom Tobin wrote: > > The Django community aggregator includes non-English posts, which are > unfortunately pure noise for those of us who don't understand other > languages. Can we either restrict the aggregator to English posts, or > at least create sub-feeds for

robustapply and cross-interpreter compatibility

2008-06-13 Thread fijal
I would like to bring this issue up: http://code.djangoproject.com/ticket/6857 We attached pypy-compatible version of robustapply.py, which works under cpython, pypy and jython correctly. I know that robustapply.py is going away at some point, but this patch is relatively trivial and actually

Re: Djangochatter [WAS: Django community aggregator and non-English posts]

2008-06-13 Thread Robert Coup
On Sat, Jun 14, 2008 at 5:55 AM, Marty Alchin <[EMAIL PROTECTED]> wrote: > > Well, I'd still like to be able to get feeds for keywords, too. For > instance, with all the file stuff I've been doing, I'm curious to know > what kinds of FileField problems people are dealing with. If I could > just

Re: Djangochatter [WAS: Django community aggregator and non-English posts]

2008-06-13 Thread Marty Alchin
On Fri, Jun 13, 2008 at 1:38 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > Hey, it helps me segment my incoming mail. ;) It's always about *you* isn't it? ;) > Google Groups makes new mailing lists trivial. Although this may all > be moot if that djangosearch site pans out as useful. Well, I'd

Re: Django community aggregator and non-English posts

2008-06-13 Thread Arien
On Fri, Jun 13, 2008 at 12:07 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > > On Fri, Jun 13, 2008 at 12:02 PM, Arien <[EMAIL PROTECTED]> wrote: >> >> The non-English posts are clearly useful to the Django community as a >> whole, as it appears that the majority of its members don't speak >> English

Re: Djangochatter [WAS: Django community aggregator and non-English posts]

2008-06-13 Thread Marty Alchin
On Fri, Jun 13, 2008 at 1:23 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > Ugh, time. I have a bad habit of assuming I have more of that > resource available than I ultimately do. :) I'd definitely like to > help, but I don't think I could assume a driving role at this point. > (Chicago

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 12:32 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > > On Fri, Jun 13, 2008 at 1:23 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote: >> There is existing multi-lingual aggregator http://djangosearch.com/ > > I didn't realize djangosearch broke articles down by language, >

Re: Djangochatter [WAS: Django community aggregator and non-English posts]

2008-06-13 Thread Tom Tobin
Bah, simultaneous thread-splitting. Send any replies to the other "djangochatter" thread. On Fri, Jun 13, 2008 at 12:23 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 12:07 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: >> >> There's an aggregator, IRC log, various mailing list

Re: Django community aggregator and non-English posts

2008-06-13 Thread Marty Alchin
On Fri, Jun 13, 2008 at 1:23 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote: > There is existing multi-lingual aggregator http://djangosearch.com/ I didn't realize djangosearch broke articles down by language, complete with individual feeds! Looks like that's one problem down. Combine that with

Re: Community search [was: Django community aggregator and non-English posts]

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 12:25 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Also for anyone interested, there's this: > > http://djangosearch.com/ Well. Damn. That looks like what we're talking about here. I wonder if it indexes everything the "official" aggregator does?

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 12:27 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote: > -100 > > Non-English post isn't noise! > > Some English posts has more less profit then non-English ones. *To me*, someone who can't read them, yes, they're noise. I'm sorry. If I can't read it, it does nothing for me

Re: Django community aggregator and non-English posts

2008-06-13 Thread Alex Koshelev
-100 Non-English post isn't noise! Some English posts has more less profit then non-English ones. On Fri, Jun 13, 2008 at 9:07 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > > On Fri, Jun 13, 2008 at 12:02 PM, Arien <[EMAIL PROTECTED]> wrote: > > > > The non-English posts are clearly useful to the

Re: Community search [was: Django community aggregator and non-English posts]

2008-06-13 Thread [EMAIL PROTECTED]
Also for anyone interested, there's this: http://djangosearch.com/ I'm not sure who maintains it, but it seems up-to-date. On Jun 13, 10:19 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 12:07 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > > This whole thing

Re: Django community aggregator and non-English posts

2008-06-13 Thread Alex Koshelev
There is existing multi-lingual aggregator http://djangosearch.com/ On Fri, Jun 13, 2008 at 9:07 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > > This whole thing reminds me of something I've had rattling around in > my head for a while, and maybe now's the time to bring it to the > group. In

Djangochatter [WAS: Django community aggregator and non-English posts]

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 12:07 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > > There's an aggregator, IRC log, various mailing list archives, wiki > articles, ticket comments, localized community sites, the list goes on > and on. In the spirit of community-oriented sites (like djangosites, >

Community search [was: Django community aggregator and non-English posts]

2008-06-13 Thread Jacob Kaplan-Moss
On Fri, Jun 13, 2008 at 12:07 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > This whole thing reminds me of something I've had rattling around in > my head for a while, and maybe now's the time to bring it to the > group. In addition to the language of blog posts, I've often had a > hard time

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 12:04 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > I'll look into setting up language-specific feeds (and a general > non-English one). If it's easy, I'll do it. If not, anyone is welcome > to look at the djangoproject.com source and submit a patch; I'll > happily

Re: Django community aggregator and non-English posts

2008-06-13 Thread Marty Alchin
This whole thing reminds me of something I've had rattling around in my head for a while, and maybe now's the time to bring it to the group. In addition to the language of blog posts, I've often had a hard time tracking down information from past conversations that have happened in the community.

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 12:02 PM, Arien <[EMAIL PROTECTED]> wrote: > > The non-English posts are clearly useful to the Django community as a > whole, as it appears that the majority of its members don't speak > English as their native tongue. I'm totally fine with non-English feeds being

Re: Django community aggregator and non-English posts

2008-06-13 Thread Jacob Kaplan-Moss
I'll look into setting up language-specific feeds (and a general non-English one). If it's easy, I'll do it. If not, anyone is welcome to look at the djangoproject.com source and submit a patch; I'll happily accept it. Jacob --~--~-~--~~~---~--~~ You received

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 11:33 AM, Alex Koshelev <[EMAIL PROTECTED]> wrote: > > It is not a problem. Just skip non-English posts at all. English is > international language of cource but not the one. Except it *is* a problem when I'm forced to deal with a regular influx of what is, to me, *noise*

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 11:31 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I propose an option on the side of the page that asks whether or not > to translate the posts into english. The google translator is fairly > effective and a lot of the russian posts I have looked at have bee >

Re: Django community aggregator and non-English posts

2008-06-13 Thread Eduardo O. Padoan
On Fri, Jun 13, 2008 at 1:05 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > > On Fri, Jun 13, 2008 at 11:01 AM, pi song <[EMAIL PROTECTED]> wrote: >> Are they real posts? I thought just spam. > > They certainly *look* like real posts, but I can't understand anything > outside of the technical

Re: Django community aggregator and non-English posts

2008-06-13 Thread Jeff Anderson
Alex Koshelev wrote: And when does author write in number of languages? Hmmm Didn't think about that one too much. :) One way to "detect" the language would be to run it through the spell check of several languages, and it would be safe to say that the one that has the least amount of

Re: Django community aggregator and non-English posts

2008-06-13 Thread Alex Koshelev
And when does author write in number of languages? On Jun 13, 8:41 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: > siudesign wrote: > >http://www.djangobrasil.org/< Not in English. > > > Huge -1 > > > If people want to post in their own language they can. Having a feed > > split up by languages

Re: Django community aggregator and non-English posts

2008-06-13 Thread Jeff Anderson
siudesign wrote: http://www.djangobrasil.org/ < Not in English. Huge -1 If people want to post in their own language they can. Having a feed split up by languages might be an option, but it really isn't that hard to ignore. Personally, I know those of us who speak multiple languages actually

Re: Django community aggregator and non-English posts

2008-06-13 Thread siudesign
http://www.djangobrasil.org/ < Not in English. Huge -1 If people want to post in their own language they can. Having a feed split up by languages might be an option, but it really isn't that hard to ignore. Personally, I know those of us who speak multiple languages actually appreciate having

Re: Admin media handling #7129

2008-06-13 Thread Russell Keith-Magee
On Fri, Jun 13, 2008 at 6:38 AM, Brian Rosner <[EMAIL PROTECTED]> wrote: > > Hello, > > I need to draw some quick attention to media handling in newforms- > admin. Ticket #7129 [1] was opened with the intension of the old > admin's behavior with the js inner Admin option. The trunk >

Re: Django community aggregator and non-English posts

2008-06-13 Thread [EMAIL PROTECTED]
I propose an option on the side of the page that asks whether or not to translate the posts into english. The google translator is fairly effective and a lot of the russian posts I have looked at have bee very good(at least as good as they can be in. A slighty mangled state). Tom Tobin wrote: >

Re: Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
On Fri, Jun 13, 2008 at 11:01 AM, pi song <[EMAIL PROTECTED]> wrote: > Are they real posts? I thought just spam. They certainly *look* like real posts, but I can't understand anything outside of the technical (English) terms used. :) --~--~-~--~~~---~--~~ You

Re: Django community aggregator and non-English posts

2008-06-13 Thread pi song
Are they real posts? I thought just spam. On Sat, Jun 14, 2008 at 1:58 AM, Tom Tobin <[EMAIL PROTECTED]> wrote: > > The Django community aggregator includes non-English posts, which are > unfortunately pure noise for those of us who don't understand other > languages. Can we either restrict the

Django community aggregator and non-English posts

2008-06-13 Thread Tom Tobin
The Django community aggregator includes non-English posts, which are unfortunately pure noise for those of us who don't understand other languages. Can we either restrict the aggregator to English posts, or at least create sub-feeds for English and non-English posts? I don't mean to tread on

Re: MS SQL backend as a proper external backend (was: RFC: Django 1.0 roadmap and timeline)

2008-06-13 Thread Adam V.
> To solve it I proposed[1] another strategy: delegate type conversion to the > backend. +1 I maintain the external django-mssql backend, and I would HUGELY prefer to get "real Python types" instead of to-string types for things like dates/times/decimal/etc. (Converting everything to strings

Re: Django development staleness

2008-06-13 Thread Russell Keith-Magee
2008/6/13 Edgars Jēkabsons <[EMAIL PROTECTED]>: > > On 11 Jūn., 03:45, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: >> On Wed, Jun 11, 2008 at 6:46 AM, Edgars Jēkabsons >> >> <[EMAIL PROTECTED]> wrote: >> This is a triage process - we're not asking you to make decisions for >> the community

Re: Dynamic Fields in Models

2008-06-13 Thread phillc
make the phone field have its own form. (you can have multiple django forms in the same html form) create a function that checks the country in the other form, and returns a form that is either US or International base phone checking. default it to one or the other, so that something shows up to

Re: One more issue with file storage

2008-06-13 Thread Marty Alchin
On Fri, Jun 13, 2008 at 8:48 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I've been implementing a flexible file storage system for Django for > my own use (hacked in on top of the existing file field) and would be > happy to make this code available if you have any interest in it. I >