Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 2:54 AM, Karen Tracey wrote: > On Tue, Jan 13, 2009 at 10:52 PM, Russell Keith-Magee > wrote: >> >> If you have any objections or problem reports, speak now or live with >> the consequences :-) > > I'm getting some errors running the

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 4:21 AM, Ian Kelly wrote: > > On Wed, Jan 14, 2009 at 12:20 PM, Ian Kelly wrote: >> I'm seeing the same errors using the tarball snapshot. All but the >> last one are fixed by the attached patch. > > By "the last one" I actually mean the final failure where a float is >

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 8:16 AM, Ian Kelly wrote: > > On Wed, Jan 14, 2009 at 4:03 PM, Russell Keith-Magee > wrote: >> >> On Thu, Jan 15, 2009 at 4:21 AM, Ian Kelly wrote: >>> >>> On Wed, Jan 14, 2009 at 12:20 PM, Ian Kelly wrote: >>>> I&

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 8:21 AM, Karen Tracey wrote: > On Wed, Jan 14, 2009 at 5:58 PM, Russell Keith-Magee > wrote: >> >> On Thu, Jan 15, 2009 at 2:54 AM, Karen Tracey wrote: >> > On Tue, Jan 13, 2009 at 10:52 PM, Russell Keith-Magee >> > wrote: >&

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 10:26 AM, Karen Tracey wrote: > On Wed, Jan 14, 2009 at 7:22 PM, Russell Keith-Magee > wrote: >> >> Help, yes. Illuminating, No. :-( >> >> To fill you in on what I'm looking for - every aggregate value coming >> back from the d

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 11:15 AM, Karen Tracey wrote: > On Wed, Jan 14, 2009 at 8:53 PM, Russell Keith-Magee > wrote: >> >> On Thu, Jan 15, 2009 at 10:26 AM, Karen Tracey wrote: >> > On Wed, Jan 14, 2009 at 7:22 PM, Russell Keith-Magee >> > wrote: >

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 11:26 AM, Alex Gaynor wrote: > > > On Wed, Jan 14, 2009 at 9:15 PM, Karen Tracey wrote: >> >> On Wed, Jan 14, 2009 at 8:53 PM, Russell Keith-Magee >> wrote: >>> >>> On Thu, Jan 15, 2009 at 10:26 AM, Karen Tracey >>>

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 12:01 PM, Karen Tracey wrote: > On Wed, Jan 14, 2009 at 9:46 PM, Russell Keith-Magee > wrote: >> >> On Thu, Jan 15, 2009 at 11:15 AM, Karen Tracey wrote: >> > Yeah, that's the direction I was heading in. Only I didn't have to go >

Re: #3566 - Aggregations: Ready to commit

2009-01-14 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 2:21 PM, Karen Tracey wrote: > FYI -- since this Windows Python 2.5.x problem doesn't appear to be > something we'll be able to figure out before I turn into a pumpkin and have > to go to sleep, and I'm not sure what you are thinking about with regard to > committing the c

Aggregates come to Django

2009-01-15 Thread Russell Keith-Magee
Hi all, For those watching trunk, revision 9742 added aggregate support to Django. (Yay!) The short version is that Querysets now have two additional operations - annotate() and aggregate(). For details on how to use these new operations, see the documentation: http://docs.djangoproject.com/en/

Re: django.contrib.sitemaps Additions and Tweaks

2009-01-15 Thread Russell Keith-Magee
On Thu, Jan 15, 2009 at 2:51 AM, David Cramer wrote: > > Actually before I get a "wtf" response, I should note that the two > generators do not quite match. One is rendering a template, the other > is simply yielding XML. The latter approach is what I prefer, but I > was rushing to finish the ind

Re: Django with Firebird

2009-01-18 Thread Russell Keith-Magee
On Mon, Jan 19, 2009 at 3:33 PM, Harryanto Ie wrote: > can you help me? > 1. what kind of database can be associate with django? > 2. is there any possiblity if we use django applicated > with firebird databases? how? 1. Django-developers is for discussing the development of Django itself, not f

Re: problem django admin

2009-01-20 Thread Russell Keith-Magee
On Wed, Jan 21, 2009 at 12:14 PM, Karen Tracey wrote: > On Tue, Jan 20, 2009 at 10:08 PM, Harryanto Ie > wrote: >> >> [snip] >> >> File >> "c:\python25\Lib\site-packages\django\db\backends\sqlite3\base.py", >> line 167, in execute >> return Database.Cursor.execute(self, query, params) >> >>

Joins and aggregates

2009-01-21 Thread Russell Keith-Magee
Hi all, I've been looking at ticket #10060, The problem is caused by join behavior in aggregates, but I'm uncertain about the best way to address the problem. Using the example from the ticket, the problem goes like this: You can use double underscore notation for form joins in aggregates: >>>

Re: Controlling form/widgets output

2009-01-21 Thread Russell Keith-Magee
On Thu, Jan 22, 2009 at 7:39 AM, catsclaw wrote: > > Hi all -- > > I've started to poke around in customizing the generated form code > and providing my own widget instances, but the current Django form > code is written in such a way that it makes things nearly impossible. First off - as a ge

Re: Controlling form/widgets output

2009-01-22 Thread Russell Keith-Magee
On Fri, Jan 23, 2009 at 5:02 AM, catsclaw wrote: > > On Jan 22, 12:12 am, Jacob Kaplan-Moss > wrote: >> On Thu, Jan 22, 2009 at 4:57 PM, catsclaw wrote: >> > Well, it seems to me that makes for an *extremely* tight coupling >> > between the model and the view. >> >> I'm sorry to be so blunt,

Re: #9344 and policy for small bug reports

2009-01-22 Thread Russell Keith-Magee
On Fri, Jan 23, 2009 at 2:38 PM, Julien Phalip wrote: > > Now, I know that this is sort of an edge case, and I also know that > there are more important and more urgent matters at this moment. But > I'd be keen to hear what is the official (or tacit) policy for that > kind of small bug reports. T

#7210 - Query Expressions: Final call for comment

2009-01-28 Thread Russell Keith-Magee
Hi all, I've just pushed my last bunch of changes to ticket #7210 (F() expressions) to my GitHub branch: http://github.com/freakboy3742/django/tree/query-expressions There are still some minor issues to resolve with GIS integration, but in consultation with Malcolm, we decided we can resolve th

#7210 - F() Query Expressions

2009-01-29 Thread Russell Keith-Magee
Hi all, With [9792], I've committed F() query expressions to trunk. For details, see the docs: http://docs.djangoproject.com/en/dev/topics/db/queries/#filters-can-reference-fields-on-the-model There are two caveats worth knowing about: 1) This patch reveals a bug in the SQLite package that shi

Re: Controlling form/widgets output

2009-01-30 Thread Russell Keith-Magee
On Sat, Jan 24, 2009 at 5:27 AM, catsclaw wrote: > > On Jan 22, 11:53 pm, Russell Keith-Magee > wrote: >> On Fri, Jan 23, 2009 at 5:02 AM, catsclaw wrote: Apologies for the delay in replying - I was busy with some other items on my Django todo list, and I knew that any reply wa

Re: #7210 - F() Query Expressions

2009-01-30 Thread Russell Keith-Magee
On Sat, Jan 31, 2009 at 5:39 AM, Ian Kelly wrote: > > On Thu, Jan 29, 2009 at 4:14 AM, Russell Keith-Magee > wrote: >> >> Hi all, >> >> With [9792], I've committed F() query expressions to trunk. For >> details, see the docs: > > Hi Russell,

Re: App Engine port

2009-02-06 Thread Russell Keith-Magee
On Fri, Feb 6, 2009 at 8:32 PM, Waldemar Kornewald wrote: > > Hi Russell, > > On 6 Feb., 11:34, Russell Keith-Magee wrote: >> I would suggest to you that the broader project of "modifying the >> django.db.models interface to be fully independent of SQL"

Re: App Engine port

2009-02-06 Thread Russell Keith-Magee
On Fri, Feb 6, 2009 at 5:51 PM, Waldemar Kornewald wrote: > > BTW, could someone please activate my "wkornewald" Trac account, so I > can move the documentation into your wiki? After I pressed send, something else occurred to me: Before you starting loading documentation into Django's wiki, ple

Re: App Engine port

2009-02-06 Thread Russell Keith-Magee
On Fri, Feb 6, 2009 at 5:51 PM, Waldemar Kornewald wrote: > > A native Django port could provide us with a clean, more powerful, and > more actively developed API for App Engine development. Moreover, it > could provide a solution for provider lock-in by abstracting the > underlying API and thus

Re: App Engine port

2009-02-06 Thread Russell Keith-Magee
On Fri, Feb 6, 2009 at 11:51 PM, David Stenglein wrote: > > I have to ask a question here. Why is there such reticence regarding > App Engine? It would > seem to me that App Engine has been a feather in the cap for Django. A > lot of people don't know Django and at a previous job, I was able to >

Re: Testing framework inflexibilities

2009-02-07 Thread Russell Keith-Magee
On Sat, Feb 7, 2009 at 8:17 PM, Ludvig Ericson wrote: > > Hi, > I realize this topic is in a gray zone between django-users and > django-developers, but I thought it'd be more fitting to post it here. > > I needed to inject things into the session, and I'm not using regular > sessions. > I have m

Interaction of annotate() and values()

2009-02-07 Thread Russell Keith-Magee
Hi all, I've been working my way through a couple of aggregation tickets, and I've hit a bit of an inconsistency that I think may need to be addressed. The problem lies in the interaction of values() and annotate(), especially as compared to the interaction of extra() and values(). Ordinarily, v

Re: Interaction of annotate() and values()

2009-02-08 Thread Russell Keith-Magee
On Mon, Feb 9, 2009 at 3:12 PM, Karen Tracey wrote: > On Sun, Feb 8, 2009 at 1:56 AM, Russell Keith-Magee > wrote: >> >> So - some options: >> >> 1) Leave things as-is. Annotated columns always appear in the result >> set. This is inconsistent with extra(),

Re: Testing framework inflexibilities

2009-02-09 Thread Russell Keith-Magee
On Tue, Feb 10, 2009 at 10:34 AM, Ludvig Ericson wrote: > > Feb 8, Russell Keith-Magee: >> First off - it isn't impossible to do what you are describing with the >> existing setup. There is no reason you couldn't override _pre_setup() >> in your subclass and eit

Re: Interaction of annotate() and values()

2009-02-10 Thread Russell Keith-Magee
On Tue, Feb 10, 2009 at 1:53 PM, Malcolm Tredinnick wrote: > > On Sun, 2009-02-08 at 15:56 +0900, Russell Keith-Magee wrote: > [...] >> There is a slight complication, though. The ordering of values() and >> annotate() is significant - values() controls the grouping of >

Re: Interaction of annotate() and values()

2009-02-11 Thread Russell Keith-Magee
On Wed, Feb 11, 2009 at 4:43 PM, Malcolm Tredinnick wrote: > >> By way of example, this is what 1.0.X produces: >> >> >>> Book.objects.extra(select={'a':'name','b':'price','c':'pages'}).values('name','pages','a') >> [{'a': u'Book 1', 'c': 11, 'b': Decimal("11.11"), 'name': u'Book 1', >> 'pages':

Re: #5903 DecimalField returns default value as unicode string

2009-02-11 Thread Russell Keith-Magee
On Wed, Feb 11, 2009 at 9:06 AM, Brian Rosner wrote: > > Hey all, > > I recently came across the issue described in #5903 [1] earlier. There > are two distinct patches that fix the problem, but at different > levels. My inclination is to fix this issue at the model field level > and properly over

Re: Contenttype Generation Inconsistency During Serialization

2009-02-11 Thread Russell Keith-Magee
On Thu, Feb 12, 2009 at 4:48 AM, jameslon...@gmail.com wrote: > > There is a small road block that makes contenttype a little dangerous > to use during application development. Especially in regards to > serializing your data to different databases. During syncdb the > contenttypes are generated

Re: Django, initial data and custom SQL

2009-02-11 Thread Russell Keith-Magee
On Thu, Feb 12, 2009 at 2:54 PM, Ludvig Ericson wrote: > > Feb 11, Johan Bergström: >> I took the liberty of creating a ticket with attached patch at: >> http://code.djangoproject.com/ticket/10236 > > I fail to see how "it has consequences for existing code", as Russell > put it. It has conseque

Re: Django, initial data and custom SQL

2009-02-12 Thread Russell Keith-Magee
On Thu, Feb 12, 2009 at 4:49 PM, Ludvig Ericson wrote: > > On Feb 12, 2009, at 07:48, Russell Keith-Magee wrote: >> On Thu, Feb 12, 2009 at 2:54 PM, Ludvig Ericson >> wrote: >>> >>> I fail to see how "it has consequences for existing code", as

Re: Django, initial data and custom SQL

2009-02-12 Thread Russell Keith-Magee
On Thu, Feb 12, 2009 at 5:21 PM, Johan Bergström wrote: > >> After pondering some more, I realized the docs actually say "initial >> SQL data", and so I'm not sure if this change is actually a good idea >> or not. > > I also realize that the docs says "initial data" but since fixtures > nowadays

Re: #10290: grouping with extra selects produces invalid SQL

2009-02-17 Thread Russell Keith-Magee
On Wed, Feb 18, 2009 at 8:05 AM, Ian Kelly wrote: > > I'd like to request some extra sets of eyes for the patch in ticket #10290. > > The summary: from r9838 on, I'm getting aggregation_regress test > failures in Oracle, apparently because annotations with extra selects > are adding the extra sel

Re: Small URLconf suggestion

2009-02-22 Thread Russell Keith-Magee
On Sun, Feb 22, 2009 at 8:36 PM, rihad wrote: > > Hi, devs, > I'm sure I'm not the only user who doesn't like the look of trailing > slashes in URLs, or more precisely, the difference in behavior that > they imply for Django users. How about simply changing this: > >(r'^hello/$', hello),

Re: Ticket 7539: Add ON DELETE and ON UPDATE support to Django

2009-02-23 Thread Russell Keith-Magee
On Fri, Feb 20, 2009 at 1:49 AM, Michael Glassford wrote: > > Just yesterday I updated the patch attached to > http://code.djangoproject.com/ticket/7539 so that it will apply against > the current version of Django (the previous patch required Django 0.96). > What are the chances of some form of

Re: Standard CRUD (SCRUD)

2009-03-03 Thread Russell Keith-Magee
On Tue, Mar 3, 2009 at 10:51 PM, timmyt wrote: > > my buddy and i have created a Standard CRUD (SCRUD) spec that we'd > like to use across projects and frameworks > > before we get totally dependent on the pattern, I want to make sure > there's not some better solution out there, or some ideas th

Re: Application settings again (#1371)

2009-03-04 Thread Russell Keith-Magee
On Mon, Mar 2, 2009 at 11:55 PM, Shai Berger wrote: > > Hi Django developers, > > This is my first message here. I wish to resurrect Application (default) > settings modules -- a topic that has been discussed here several times. I > bring it up because I believe its current resolution is inadequa

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-05 Thread Russell Keith-Magee
On Thu, Mar 5, 2009 at 7:13 PM, Semmel wrote: > > Hi fellow developers. > > I think that the choice for Sunday being the first day of the week is > an obvious but really bad choice. > > View my ticket here: http://code.djangoproject.com/ticket/10345 ... > I think that this choice is not good in a

Re: guidelines for docs/misc/distributions.txt

2009-03-05 Thread Russell Keith-Magee
On Thu, Mar 5, 2009 at 9:13 AM, Malcolm Tredinnick wrote: > > On Wed, 2009-03-04 at 09:28 -0800, Tim Graham wrote: >> Hi, >> >> http://docs.djangoproject.com/en/dev/misc/distributions/ is rather out- >> of-date with respective to the versions of Django that are shipping >> with each OS.  A summar

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-05 Thread Russell Keith-Magee
On Fri, Mar 6, 2009 at 12:26 AM, Jannis Leidel wrote: > > Am 05.03.2009 um 12:24 schrieb Russell Keith-Magee: > >> On Thu, Mar 5, 2009 at 7:13 PM, Semmel wrote: >>> >>> Hi fellow developers. >>> >>> I think that the choice for Sunday being the

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-06 Thread Russell Keith-Magee
On 07/03/2009, at 2:17 AM, Ivan Sagalaev wrote: > > Russell Keith-Magee wrote: >> Semmel and yourself both hang your arguments on the claim that Monday >> as the start of the week is the "most supported" option, or the "most >> common" option. I si

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-07 Thread Russell Keith-Magee
On Sat, Mar 7, 2009 at 6:30 PM, Tai Lee wrote: > > In my bike shed (and cron's), Sunday is 0 AND 7, which seems nice. > Then your week can starting with Sunday as 0-6  or Monday as 1-7. > > Oh, I see that Bob Thomas already suggested this. Isn't it a moot > point, though? Isn't it considered a ba

Re: Python Argentina's PyCamp 09 (Mar 21-24), best day for a Django Sprint?

2009-03-11 Thread Russell Keith-Magee
On Wed, Mar 11, 2009 at 11:18 PM, Ramiro Morales wrote: > > Hi all, > > Second edition of this Python Argentina (PyAr) four-day event is nearing > and things indicate it will be even better than last year's with more > Python enthusiasts assisting to the gathering, many of them Django > users. >

Re: Unified access to response.context in test client (follow-up)

2009-03-12 Thread Russell Keith-Magee
On Thu, Mar 12, 2009 at 7:20 PM, Julien Phalip wrote: > > Hi, > > A few months ago James raised the issue on this list: > http://groups.google.com/group/django-developers/browse_thread/thread/1b10084ea969141e > > Basically, the type for the test client's response context is > inconsistent. Someti

Re: Unified access to response.context in test client (follow-up)

2009-03-12 Thread Russell Keith-Magee
On Thu, Mar 12, 2009 at 8:31 PM, Julien Phalip wrote: > > On Mar 12, 9:30 pm, Russell Keith-Magee > wrote: >> On Thu, Mar 12, 2009 at 7:20 PM, Julien Phalip wrote: >> >> > Hi, >> >> > A few months ago James raised the issue on this list: >>

Return value from update()

2009-03-13 Thread Russell Keith-Magee
Hi all, [9967] introduced a failure into the test suite, highlighting either an error in the documentation, or a potentially nasty problem that requires fixing. According to the docs[1] : "The update() method is applied instantly and doesn't return anything" Except... it does. Further complic

Re: #3182 -- model instance update() method and QuerySet update_or_create() method

2009-03-22 Thread Russell Keith-Magee
On Mon, Mar 23, 2009 at 7:57 AM, Malcolm Tredinnick wrote: > > Kind of disappointed that none of the other "commit at will" people have > chimed in on this one (Adrian? Jacob? Russell? Bueller?...) I suspect > I'm going to lose, but I'd genuinely like to know that there's something > more than ap

Re: #9282 (comment moderation features) and Akismet removal

2009-03-23 Thread Russell Keith-Magee
On Mon, Mar 23, 2009 at 11:41 AM, Malcolm Tredinnick wrote: > > On Sun, 2009-03-22 at 21:29 -0500, James Bennett wrote: >> On Sun, Mar 22, 2009 at 9:20 PM, Justin Lilly wrote: >> > My thoughts are that while akismet is the current gold standard, it >> > should be replaceable with another, user-d

Re: #3182 -- model instance update() method and QuerySet update_or_create() method

2009-03-23 Thread Russell Keith-Magee
On Mon, Mar 23, 2009 at 7:57 AM, Malcolm Tredinnick wrote: > > Kind of disappointed that none of the other "commit at will" people have > chimed in on this one (Adrian? Jacob? Russell? Bueller?...) I suspect > I'm going to lose, but I'd genuinely like to know that there's something > more than ap

Re: #9282 (comment moderation features) and Akismet removal

2009-03-23 Thread Russell Keith-Magee
On Tue, Mar 24, 2009 at 2:23 AM, Eric Florenzano wrote: > > The Akismet module seems to me to be similar to a Memcached cache > backend.  Yes, it's coupled to a single implementation, but it's the > canonical implementation--note that the only competitor, TypePad > AntiSpam [1], is "100% Akismet

Re: #13 -- Related Objects Interface (edit_inline)

2009-03-24 Thread Russell Keith-Magee
On Tue, Mar 24, 2009 at 4:17 PM, Jurie-Jan Botha wrote: > > This post is for discussion of improvements to the related objects > interface. It mostly concerns the implementation of more Javascript/ > Ajax that will allow for a 'slicker' inline related object editing > interface. ... > That's enou

Re: Customizable User model as GSoC project

2009-03-26 Thread Russell Keith-Magee
On Fri, Mar 27, 2009 at 8:54 AM, Edward Kaplan wrote: > > Hello, I am a student interested in implementing an extendable/ > replaceable User model in auth_user as a Summer of Code project. ... > I would like to know if this would be considered for a SoC project. A very tentative, in principle, m

Re: How safe to use #6646 : included template overrides parent

2009-03-30 Thread Russell Keith-Magee
On Mon, Mar 30, 2009 at 7:44 PM, Rory Campbell-Lange wrote: > > We use Django 1.0.2 from Debian. We are considering using the patch > included in #6646 to address the following: ("When including a template > into a parent template, the child-template's blocks are not overridden > by the parent").

Re: GSoC Proposal: Serialization Enhancements

2009-03-30 Thread Russell Keith-Magee
On Mon, Mar 30, 2009 at 5:57 AM, Russ wrote: > > My apologies for the length! > > > Concisely, I intend to provide the Django user with some granular > control of the data to be serialized without sacrificing backwards > compatibility for old code, or for users who need the straightforward, > cur

Re: Call for ideas: Admin Improvements

2009-03-31 Thread Russell Keith-Magee
On Tue, Mar 31, 2009 at 7:28 PM, Julien Phalip wrote: > > On Mar 31, 6:53 pm, zain wrote: >> I'm applying for the GSoC with some thoughts to generally improve the >> admin interface. So far, I have the following ideas: >> >> 1) An autocomplete widget >> 2) Drag & Drop support for ordered relatio

Re: GSoC Proposal: Serialization Enhancements

2009-03-31 Thread Russell Keith-Magee
On Tue, Mar 31, 2009 at 11:43 AM, Russ Amos wrote: > I appreciate you taking the time to identify my now-glaring misconceptions, > Russ (... I have to laugh.  I've never met another Russ). Soon we will take over the world. :-) > Would writing an appropriate template, while certainly not ideal,

Re: Call for ideas: Admin Improvements

2009-03-31 Thread Russell Keith-Magee
On Tue, Mar 31, 2009 at 9:02 PM, mrts wrote: > > On Mar 31, 2:41 pm, Russell Keith-Magee > wrote: >> Correct. Django has very deliberately made a decision to avoid >> blessing any single Javascript toolkit. It is unlikely that this will >> change simply because a GSo

Re: Call for ideas: Admin Improvements

2009-03-31 Thread Russell Keith-Magee
On Tue, Mar 31, 2009 at 9:39 PM, Jacob Kaplan-Moss wrote: > > On Tue, Mar 31, 2009 at 8:30 AM, Russell Keith-Magee > wrote: >> It would be _exceedingly_ unwise to advise any student to base a GSoC >> proposal on the use of JQuery (or any other framework, for that >>

Re: Call for ideas: Admin Improvements

2009-03-31 Thread Russell Keith-Magee
On Tue, Mar 31, 2009 at 9:44 PM, mrts wrote: > > Sorry if I sounded intrusive, what I meant was that prototyping with > jQuery (or whatever other JS framework) may at the very least provide > a quick way prove that a particular idea works (instead of a time- > consuming plain-JS implementation).

Re: GSoC 2009: Testing Upgrades/Awesomeness

2009-03-31 Thread Russell Keith-Magee
On Wed, Apr 1, 2009 at 4:03 AM, Kevin Kubasik wrote: Hi Kevin! > The Problem > *** > > Django has a fantastic set of regression tests which cover much of the > codebase, but the famous Admin interface isn't covered by any sort of > automated tests. Not entirely true - the admin does ha

Re: GSoC 2009: Testing Upgrades/Awesomeness

2009-04-01 Thread Russell Keith-Magee
On Wed, Apr 1, 2009 at 11:02 AM, Kevin Kubasik wrote: >    3. Utilize the new Windmill test support to provide coverage of the Admin > interface. This is an extremely large task overall, but given how easy > Windmill has made the creation of tests, I hope that I will be able to > provide coverag

Re: GSoC Proposal: Serialization Enhancements

2009-04-01 Thread Russell Keith-Magee
ve use for a deserialization scheme that can produce Django objects from some external data source. It just won't necessarily be the same format that you output. > On Mar 31, 7:33 am, Russell Keith-Magee > wrote: >> On Tue, Mar 31, 2009 at 11:43 AM, Russ Amos wrote: >>

Re: GSOC proposal: improve F expresions and DateField lookups

2009-04-01 Thread Russell Keith-Magee
On Wed, Apr 1, 2009 at 12:31 PM, Max Veytsman wrote: Hi Maxim, > There was a project idea in the wiki called "Improve Query Expressions > (F() syntax." > > Improvements to Handling of Dates > == > > 1) Syntax for comparisons using fields derived from DateField >

Re: GSOC proposal: improve F expresions and DateField lookups

2009-04-01 Thread Russell Keith-Magee
On Wed, Apr 1, 2009 at 11:02 PM, Nicolas Lara wrote: > > > On Wed, Apr 1, 2009 at 2:29 PM, Russell Keith-Magee > wrote: >> >> On Wed, Apr 1, 2009 at 12:31 PM, Max Veytsman >> wrote: >> >> Hi Maxim, >> >> > There was a project idea in th

Re: GSoC Proposal: Serialization Enhancements

2009-04-02 Thread Russell Keith-Magee
On Thu, Apr 2, 2009 at 2:24 PM, Russ wrote: > > Thanks for the many, many pointers, Russ.  Better ways of thinking > about the problem have finally caught up to me.  To illustrate my > latest thoughts, > > class DefaultStructure(serializers.Structure): >    root_list = ("django-objects", {"versio

Re: django Template / Webpage Question

2009-04-05 Thread Russell Keith-Magee
On Mon, Apr 6, 2009 at 1:30 PM, codingJoe wrote: > > Up front, I'm not the most elegant coder, so please forgive. You're also posting to the wrong list. Django-developers is for discussing the development of Django itself. "How do I" type queries should be asked on django-users. Yours Russ Mage

Re: Why hardcoded unique and db_index?

2009-04-06 Thread Russell Keith-Magee
On Mon, Apr 6, 2009 at 7:18 PM, MS wrote: > > Hi, > > I've been asking this at django-users but haven't received any good > answer. > (thread: > http://groups.google.com/group/django-users/browse_thread/thread/6994f7b37f3f379c > ) That's a pity, but you won't get an answer by 'escalating' your

Re: Follow-up to "contrib.admin is slow with large, complex datasets"

2009-04-06 Thread Russell Keith-Magee
On Mon, Apr 6, 2009 at 4:22 PM, mrts wrote: > > On Apr 6, 2:45 am, Jacob Kaplan-Moss > wrote: >> Can you please stop? We all get that you think these tickets are >> important. They're on the milestone for 1.1, so they'll be fixed. >> Nagging us here doesn't help get your tickets pushed to the fr

Re: Why hardcoded unique and db_index?

2009-04-06 Thread Russell Keith-Magee
On Mon, Apr 6, 2009 at 7:52 PM, MS wrote: > >> That's a pity, but you won't get an answer by 'escalating' your issue >> to Django developers. Django-dev isn't 'second-level tech support' - >> it's a list for discussing the development of Django itself. > > I'm sorry, it's not my intention to do s

Re: Deletion of related objects

2009-04-09 Thread Russell Keith-Magee
On Thu, Apr 9, 2009 at 5:02 AM, Jeremy Dunck wrote: > > On Tue, Mar 31, 2009 at 5:47 PM, Malcolm Tredinnick > wrote: >> >> On Tue, 2009-03-31 at 14:48 -0500, Jeremy Dunck wrote: > ... >>> I'm aware of ticket #7539, but would prefer to keep the scope narrower >>> and ask the hopefully-useful ques

Re: How safe to use #6646 : included template overrides parent

2009-04-09 Thread Russell Keith-Magee
On Fri, Apr 10, 2009 at 12:05 AM, Sebastian wrote: > > Rory and I have applied patch 6646 to our Django installation (1.0- > final-SVN-unknown). Although the patch works as described, the > following no longer works: > > if the included template also 'extends' from a base template the > following

Re: ifequal/ifnotequal fails while in a for loop

2009-04-12 Thread Russell Keith-Magee
On Mon, Apr 13, 2009 at 11:36 AM, murray wrote: > > My ultimate goal is to create a nested list with sub-list items that > are controlled by a div tag and > will expand when the the "parent" link is clicked. Django-developers is for discussing the development of Django itself. If you have a "how

Re: Regression test suite for 1.0.2 version

2009-04-14 Thread Russell Keith-Magee
On Tue, Apr 14, 2009 at 7:44 PM, Ambrish Bhargava wrote: > > Hi, > > I downloaded Django 1.0.2 from: > http://www.djangoproject.com/download/1.0.2/tarball/. > > After untarring this bundle, I found that it does not contains > regression test suite. Now, after this I went back to svn repository >

Re: AttributeError when running test against PostgreSql 8.4beta1

2009-04-15 Thread Russell Keith-Magee
On Thu, Apr 16, 2009 at 11:14 AM, Horacio de Oro wrote: > > On Apr 15, 9:53 pm, Jacob Kaplan-Moss > wrote: >> On Wed, Apr 15, 2009 at 7:48 PM, Horacio de Oro wrote: >> >> > Is this a bug? Should I file a bug report? >> >> Yes, please do. Thanks! >> >> Jacob > > Testing with another applicatoin,

Re: Schema Evolution

2009-04-17 Thread Russell Keith-Magee
On Thu, Apr 16, 2009 at 4:15 PM, Andreas wrote: > > I know everyone is fed up with discussions about schema evolution and > multi db support but when it comes to schema evolution I think it's > time to have a discussion about it again. Now isn't the right time for that discussion - we're in the

Re: About localization settings

2009-04-21 Thread Russell Keith-Magee
On Tue, Apr 21, 2009 at 2:57 PM, Jannis Leidel wrote: > >> just to warm up for my Google Summer of Code on i18n, I want to start >> a discussion on to simple things... > > Although I'm also excited to get started with the Summer of Code, > please post your revised proposal here first to let every

Re: [GSOC] Multi-DB

2009-04-24 Thread Russell Keith-Magee
On Wed, Apr 22, 2009 at 1:45 AM, Alex Gaynor wrote: > Hello All, > > As you know by now I've been selected to work on multiple database support > in Django as a part of the Google Summer of Code.  I'm going to try to keep > this brief as a) not much of my API thoughts have changed since my origin

Re: SQL Anywhere database backend

2009-04-28 Thread Russell Keith-Magee
On Tue, Apr 28, 2009 at 10:17 PM, Nathan Auch [Sybase] wrote: > > I'm a developer on the core engine team of the SQL Anywhere database > server (http://www.sybase.com/products/databasemanagement/sqlanywhere). > We're in the final stages of adding a SQL Anywhere database backend to > Django and wo

Re: SQL Anywhere database backend

2009-04-28 Thread Russell Keith-Magee
On Wed, Apr 29, 2009 at 3:13 AM, Malcolm Tredinnick wrote: > > On Tue, 2009-04-28 at 14:38 -0400, Nathan Auch [Sybase] wrote: >> Hi Russ, >> >> Thanks for taking the time to respond. We will finish off the SQL >> Anywhere work in Django and then follow the procedure you outlined. It >> sounds lik

Re: Lets not solve Schema Evolution but reframe the problem

2009-04-28 Thread Russell Keith-Magee
On Wed, Apr 29, 2009 at 10:42 AM, DavidP wrote: > > A  solution to the schema evolution problem is to reframe it and solve > a different problem. While I'm glad you are enthusiastic about the schema evolution problem, now is not the best time to be discussing it. We are trying (desperately) to g

Re: #10987 - patch to support custom 404 error pages in generic view

2009-05-03 Thread Russell Keith-Magee
On Sun, May 3, 2009 at 9:46 PM, redbaron wrote: > > Please take a look at http://code.djangoproject.com/ticket/10987 > Personally I found it quite useful to have customizable 404 pages per > view. I've attached small patch, please review it and put in SVN if > its ok. I http://docs.djangoproject

Re: Reduce bug triage overhead: DjangoAwesomeBot

2009-05-06 Thread Russell Keith-Magee
On Wed, May 6, 2009 at 7:53 AM, Henrique Romano wrote: > > On May 5, 2009, at 7:03 PM, Jacob Kaplan-Moss wrote: > >> >> On Tue, May 5, 2009 at 11:56 PM, Almad wrote: >>> Cool for me, but have enough pet projects so now, but if anyone have >>> spare weekend to implement it? :) >> >> Unfortunately

Re: Feeds refactoring

2009-05-06 Thread Russell Keith-Magee
On Wed, May 6, 2009 at 5:33 PM, daonb wrote: > > Hi all, > I'm a part of the Django user group in Israel and we want to have our > own project, taking a part of the Django project and improving it. > I've discussed it with Jacob, Adrian and Alex yesterday and they all > agreed that the feeds modu

Re: Feeds refactoring

2009-05-07 Thread Russell Keith-Magee
On Thu, May 7, 2009 at 5:18 PM, daonb wrote: > >>  * Builtin support for the full Atom publishing protocol. This is >> already logged as ticket (#3569) and was originally accepted for v1.1, >> but got delayed in the interest of the schedule. > > Makes sense to support RFC 4287. I think it will he

Re: DurationField, request for help and comments

2009-05-08 Thread Russell Keith-Magee
On Sat, May 9, 2009 at 9:33 AM, Adys wrote: > > I've been working on DurationFields this evening (ticket #2443)[1]. My Hi Jerome, Most of the people that could give you the feedback you are requesting are currently working hard to get version 1.1 out the door. If you wait a couple of weeks for

Re: Posting to the wrong list (was: Re: Need Django Developer urgent)

2009-05-12 Thread Russell Keith-Magee
On Tue, May 12, 2009 at 11:36 PM, Adam Jenkins wrote: > > On Fri, May 8, 2009 at 9:42 AM, Marcello Bontempo Salgueiro > wrote: >> Don´t make a core list, put inside the dajngo site >> a new applet for register jobs, like have in the python.org[1]!! > > djangogigs.com > > On the point of name. I

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2009-05-12 Thread Russell Keith-Magee
On Wed, May 13, 2009 at 7:48 AM, thebitguru wrote: > > Hi, > > What do we need to make a decision for ticket 6362 (http:// > code.djangoproject.com/ticket/6362)? We need to wait until we're not trying to get v1.1 out the door. We are well past the feature deadline for v1.1; the focus of the com

Re: History tracking for models

2009-05-13 Thread Russell Keith-Magee
On Wed, May 13, 2009 at 3:36 PM, kailash wrote: > > Hi, >    Just want to know is there any way of tracking the history in the > database of a model. > Like..every time i update a row using model.save() , the data that > previously existed gets recorded into any table??? > If there's any such fun

Re: Django

2009-05-13 Thread Russell Keith-Magee
On Wed, May 13, 2009 at 5:47 PM, ankit wrote: > > how can i customise  list_filter option. > > In my Django model I have a field called status which can have three > choices > 1)activated > 2)rejected > 3)pending > > > > I am using status in list_filter.By default it shows me the 'ALL'  but > i w

Re: interest in extending {% blocktrans %}

2009-05-19 Thread Russell Keith-Magee
On Wed, May 20, 2009 at 9:11 AM, Andy Smith wrote: > Hey y'all, I'd like to propose that {% blocktrans %} support resolving of > simple variables. I don't want to dampen your enthusiasm, but I'd like to propose that we hold off discussions like this until we are in the v1.2 feature discussion ph

Re: interest in extending {% blocktrans %}

2009-05-20 Thread Russell Keith-Magee
On Wed, May 20, 2009 at 6:22 PM, Marc Remolt wrote: > > Hi all, > > I've read that kind of answer to feature proposals quite often during > the last weeks. Maybe we should create an informal trac-wiki page > collecting all those good ideas and explaining why this is currently > necessary. That wa

Re: AJAX component usage from different domain

2009-05-21 Thread Russell Keith-Magee
On Fri, May 22, 2009 at 12:51 PM, Abhishoka wrote: > > Hi: > > We are a non-profit charity organization having 25+ websites and want > to maintain a centralized database for the various events happening at > different places. The database (MySql) has been implemented and we use > the django frame

Re: [GSOC] Multi-DB Week 0 Update

2009-05-24 Thread Russell Keith-Magee
On Sat, May 23, 2009 at 12:06 PM, Alex Gaynor wrote: > And I didn't actually finish writing before sending grand... > > So the issue is one of the remaining 1.1 tickets, > http://code.djangoproject.com/ticket/9964 , has patches that rewrite > basically all of the transaction handling code.  Can a

Re: Django 1.0.2 Test Suite - Modeltests-m2m_through

2009-05-26 Thread Russell Keith-Magee
On Wed, May 27, 2009 at 2:21 AM, Tarun Pasrija wrote: > > Hi > > In my effort to contribute rectification of Django test suite, I ran > it using the following command to select the model as m2m_through > > $ python runtests.py --settings=settings --verbosity=2 m2m_through > > The output Failure r

Re: Session framework improvements - ticket 3304

2009-06-09 Thread Russell Keith-Magee
On Tue, Jun 9, 2009 at 8:56 PM, Rodolfo wrote: > > About session in Django: > http://code.djangoproject.com/wiki/DjangoSpecifications/Contrib/Sessions > > Why ticket 3304 (http://code.djangoproject.com/ticket/3304) is "new"? > All propounded patches are bad? This can protect from session hijack >

Re: append_slash alternative: remove_slash

2009-06-16 Thread Russell Keith-Magee
On Wed, Jun 17, 2009 at 5:02 AM, M. N. Islam Shihan wrote: > > On Jun 17, 2009, at 2:27 AM, Hanne Moa wrote: >> >> And I want the bikeshed to be painted blue with yellow stars on. > > ??? For an explanation, see http://www.bikeshed.com/ For extra amusement, reload the page a few times :-) Your

<    17   18   19   20   21   22   23   24   25   26   >