Tests for generic views' pagination

2010-07-05 Thread Julien Phalip
Hi, I'm starting to work on ticket #2367 ("Pagination for date based generic views" - http://code.djangoproject.com/ticket/2367) and I'm looking into the object_list generic view as a reference. For the life of me I cannot find any tests for object_list's pagination. Am I missing something or

Re: Spam attack on the Wiki

2010-07-05 Thread Alex Gaynor
I just went through and deleted all of his edits. Alex On Mon, Jul 5, 2010 at 11:18 AM, Christopher Petrilli wrote: > Just an FYI, but there's been hundreds of edits to add spam links in > the last few hours.  Might be worth locking it and rewinding the > database. > > Chris

Spam attack on the Wiki

2010-07-05 Thread Christopher Petrilli
Just an FYI, but there's been hundreds of edits to add spam links in the last few hours. Might be worth locking it and rewinding the database. Chris -- | Chris Petrilli | petri...@amber.org -- You received this message because you are subscribed to the Google Groups "Django developers"

Django Developers needed for Start-up.... Long Island, NY

2010-07-05 Thread Norm Levy
Do you know any Djangonaughts that are in the Long Island or New York area that may be interested in Part Time or Full Time work? I am in need of some Django developers for my upstart we created a few web platforms using Django. http://ShoutOmatic.com - audible Tweet

Re: MySQL index hints

2010-07-05 Thread Simon Litchfield
> I would like to know how you're validating your assertion that MySQL > is the most used backend. It doesn't match my experience or > observation. Nobody knows for sure. I'd put my money on it though. > The fact that this is a MySQL-specific issue is perhaps the biggest > impediment to my

Re: documentation re-factor for 1.3?

2010-07-05 Thread Ramiro Morales
On Sun, Jul 4, 2010 at 2:05 PM, dffdgsdfgsdfhjhtre wrote: > There are two types of documentation, "reference" documentation > (articles explaining all about one specific object such as slugify or > the Feed class), and "topical" documentation (articles explaining how > to do

Re: MySQL index hints

2010-07-05 Thread Russell Keith-Magee
On Mon, Jul 5, 2010 at 3:59 PM, Simon Litchfield wrote: >> If you can come up with answers to these points, I might get >> interested. 1 and 2 are fairly trivial; I can think of some obvious >> answers for 3, but 4 is the big problem, and will require some serious >> research

Re: MySQL index hints

2010-07-05 Thread Russell Keith-Magee
On Mon, Jul 5, 2010 at 3:08 PM, hinnack wrote: > Thats interesting. > Can you explain, how the search keyword made it into the source? > Entry.objects.filter(headline__search="+Django -jazz Python") > SELECT ... WHERE MATCH(tablename, headline) AGAINST (+Django -jazz >

Re: MySQL index hints

2010-07-05 Thread Luke Plant
On Mon, 2010-07-05 at 00:59 -0700, Simon Litchfield wrote: > I'd be happy to use raw(); but then you lose len(), slicing, > pagination, filter chaining, etc. My problem came about because admin > change lists were unusably slow on large tables. With_hints allowed a > simple monkey patch to admin,

Re: documentation re-factor for 1.3?

2010-07-05 Thread Luke Plant
On Sun, 2010-07-04 at 18:41 -0700, dffdgsdfgsdfhjhtre wrote: > On Jul 4, 8:40 pm, Luke Plant wrote: > > Unlike PHP, we have namespaces, which means that providing a list of > > every function/class is a different matter. > > So? Matplotlib has similar documentation to

Re: Django and the Eyjafjallajökull eruption

2010-07-05 Thread Helgi Borg
Thanks Russell, Josh, Gregor and others for helpful replies. Josh, yes Django seems to be the Python framework of choice here in Iceland. Mario, yes we are using the ibm_db_django adapter, works fine, thanks. Best regards, Helgi Borg -- You received this message because you are subscribed to

Re: documentation re-factor for 1.3?

2010-07-05 Thread Peter2108
As an 'intermediate' django user from time to time I need to look at the Django code to fill out gaps in the documentation. I think this is fine: "use the sourse, Luke" has always been a Python thing. But it would be nice if developers could describe each parameter to the function/method. This

Re: MySQL index hints

2010-07-05 Thread Simon Litchfield
On Jul 5, 5:08 pm, hinnack wrote: > Thats interesting. > Can you explain, how the search keyword made it into the source? > Entry.objects.filter(headline__search="+Django -jazz Python") > SELECT ... WHERE MATCH(tablename, headline) AGAINST (+Django -jazz > Python IN

Re: MySQL index hints

2010-07-05 Thread Simon Litchfield
> If you can come up with answers to these points, I might get > interested. 1 and 2 are fairly trivial; I can think of some obvious > answers for 3, but 4 is the big problem, and will require some serious > research and consideration. Well, I'm glad you like the with_hints() approach. Items 1-3

Re: MySQL index hints

2010-07-05 Thread hinnack
Thats interesting. Can you explain, how the search keyword made it into the source? Entry.objects.filter(headline__search="+Django -jazz Python") SELECT ... WHERE MATCH(tablename, headline) AGAINST (+Django -jazz Python IN BOOLEAN MODE); Seems to be very MySQL specific... regards Henrik On 4

Re: Django and the Eyjafjallajökull eruption

2010-07-05 Thread Massimiliano della Rovere
Could a poll on the mailing lists (and djangopeople.net) be a way to know how important for the django programmers View permission in admin will be? On Sat, Jul 3, 2010 at 09:36, Russell Keith-Magee wrote: > On Fri, Jul 2, 2010 at 7:03 PM, Helgi Borg