Re: High Level Discussion about the Future of Django

2010-04-05 Thread Russell Keith-Magee
On Mon, Apr 5, 2010 at 10:35 PM, Dennis Kaarsemaker wrote: > On ma, 2010-04-05 at 21:47 +0800, Russell Keith-Magee wrote: > >> The bit that I have been engaging with is the discussion of (and >> apparent misconceptions around) Django's backwards compatibility >> polic

Re: Threading review wiki page removal

2010-04-06 Thread Russell Keith-Magee
On Tue, Apr 6, 2010 at 8:56 PM, mrts wrote: > James has replaced the content of > > http://code.djangoproject.com/wiki/DjangoSpecifications/Core/Threading > > with the following disclaimer: > > "This page and several others were created by a > wiki user who was not and is not a member of the > Dja

Re: Threading review wiki page removal

2010-04-06 Thread Russell Keith-Magee
On Wed, Apr 7, 2010 at 3:37 AM, mrts wrote: > On Apr 7, 6:21 pm, Russell Keith-Magee wrote: >> James spoke with me about this decision at the time, and I completely >> agree with and endorse his actions. > > So be it then. > >> While it is true that wikis contain a

Re: Issues with .only() and Meta.verbose_name{,_plural} inheritance

2010-04-06 Thread Russell Keith-Magee
On Wed, Apr 7, 2010 at 4:33 AM, Jerome Leclanche wrote: > The following code reproduces an issue I'm getting on prod with > verbose_name. When using .only(), the class changes, and Meta does not > get inherited. > > Trac is being even more terrible than usual, I've been trying to file > a bug for

Re: [GSOC] NoSQL Support for the ORM

2010-04-07 Thread Russell Keith-Magee
On Wed, Apr 7, 2010 at 8:11 AM, Alex Gaynor wrote: > Non-relational database support for the Django ORM > == > > Note:  I am withdrawing my proposal on template compilation.  Another student > has expressed some interest in working on it, and in any

Re: Talk on django to an enterprise audience

2010-04-07 Thread Russell Keith-Magee
On Tue, Apr 6, 2010 at 2:46 AM, Lakshman Prasad wrote: > Hi, > I will be speaking about django "Building Reusable Applications using > django" at the Great Indian Developer summit (link) in a couple of weeks. > GIDS is a large conference, with lot of enterprise audience. To most of > them, this wi

Re: GSOC proposal for "App loading"

2010-04-07 Thread Russell Keith-Magee
On Mon, Apr 5, 2010 at 4:11 PM, Dagvadorj Galbadrakh wrote: > Hello group, > > > > I want to attend to this year's Google Summer of Code program with > "App loading". The following is a part from my proposal. It offers > more simplistic approach than heavily discussed one with App() in > INSTALLED

Re: GSoC: App Loading

2010-04-07 Thread Russell Keith-Magee
On Mon, Apr 5, 2010 at 5:35 AM, Arthur Koziel wrote: > Hi, > I’m going to apply for GSoC with the goal of refactoring the app loading > [0]. I’ve been looking at Django’s current app loading implementation > (db.models.loading), Vinay Sajip’s patch in #3591 [1] and the notes on the > InstalledApps

Re: GSoC: App Loading

2010-04-07 Thread Russell Keith-Magee
On Wed, Apr 7, 2010 at 8:23 PM, Vinay Sajip wrote: > > On Apr 7, 12:40 pm, Russell Keith-Magee > wrote: >> >> I agree with Alex - there's a lot more detail needed here. How will I >> get access to the App instance that a model belongs to? How will >> legac

Re: GSoC: App Loading

2010-04-07 Thread Russell Keith-Magee
On Wed, Apr 7, 2010 at 9:45 PM, Dagvadorj Galbadrakh wrote: > On Wed, Apr 7, 2010 at 2:40 PM, Russell Keith-Magee > wrote: >> If you're going to tackle this problem, I'd >> rather see you concentrate on issues like: >> >>  * Translating application n

Re: Front-End Developer - Contract/Telecommute | 40-50/hour

2010-04-07 Thread Russell Keith-Magee
On Thu, Apr 8, 2010 at 11:45 AM, David Cramer wrote: > ... which they've been given several times in the past. I've just blocked their account. Yours, Russ Magee %-) > On Apr 7, 4:47 pm, OSS wrote: >> Front-End Developer - Contract/Telecommute | 40-50/hour >> >> My client is a B2B media compa

Re: [GSoC] Application Loading

2010-04-09 Thread Russell Keith-Magee
On Fri, Apr 9, 2010 at 12:33 AM, Nick Sandford wrote: > An App Loading mechanism for Django > > > About Me > -- > Hi everyone, > > My name is Nick Sandford, I'm an electrical engineering student at the > University of Western Australia. > > Background >

Re: [GSOC] NoSQL Support for the ORM

2010-04-09 Thread Russell Keith-Magee
On Thu, Apr 8, 2010 at 5:55 AM, Waldemar Kornewald wrote: > On Wed, Apr 7, 2010 at 5:22 PM, Alex Gaynor wrote: >>> Other issues that spring to mind: >>> >>>  * What about nonSQL datatypes? List/Set types are a common feature of >>> Non-SQL backends, and are The Right Way to solve a whole bunch of

Re: GSoC: App Loading

2010-04-09 Thread Russell Keith-Magee
On Wed, Apr 7, 2010 at 10:26 PM, Jannis Leidel wrote: > > Am 07.04.2010 um 13:40 schrieb Russell Keith-Magee: > >> On Mon, Apr 5, 2010 at 5:35 AM, Arthur Koziel >> wrote: >>> Hi, >>> I’m going to apply for GSoC with the goal of refactoring the app loading

Re: [GSOC] Application to update the Test Suite

2010-04-09 Thread Russell Keith-Magee
On Fri, Apr 9, 2010 at 8:59 AM, Paul McMillan wrote: > I've written an application to improve Django's Test Suite. > http://code.djangoproject.com/wiki/SummerOfCode2010#Testingupdates > > My application is here (also pasted below for convenience): > http://socghop.appspot.com/gsoc/student_proposal

Re: GSoC

2010-04-09 Thread Russell Keith-Magee
On Fri, Apr 9, 2010 at 7:48 PM, tab1ta wrote: > Hello to everyone, > I'm not a skilled developer and i used Djnago only a couple of times > but, however, i have a project a would like to develop with this > framework, and as python is the programming language i am more > familiar with i would like

Re: [GSoC] Application Loading

2010-04-09 Thread Russell Keith-Magee
On Fri, Apr 9, 2010 at 9:20 PM, Nick Sandford wrote: > An updated proposal: > > An App Loading mechanism for Django > > > About Me > -- > Hi everyone, > > My name is Nick Sandford, I'm an electrical engineering student at the > University of Western Aus

Re: GSoC Proposal: Web Unifying Markup (templating) Language, or WUML

2010-04-09 Thread Russell Keith-Magee
On Sat, Apr 10, 2010 at 10:10 AM, Gabriel Hurley wrote: > To be honest, my biggest question is "is this really about Django?" This, by itself, is the reason that this proposal will be rejected. Django is a server side framework. We have deliberately avoided making any pronouncements on the right

Re: Application to update the Test Suite

2010-04-09 Thread Russell Keith-Magee
On Sat, Apr 10, 2010 at 8:29 AM, Gabriel Hurley wrote: > Maybe it's an overly simplistic question, but: what makes the tests > slow currently? It's not simply the volume of them. It's more than > possible for Python to race through hundreds of tests per second under > the right conditions. > > Som

Re: Application to update the Test Suite

2010-04-09 Thread Russell Keith-Magee
On Sat, Apr 10, 2010 at 2:25 PM, Alex Gaynor wrote: > On Sat, Apr 10, 2010 at 2:21 AM, Russell Keith-Magee > wrote: >> On Sat, Apr 10, 2010 at 8:29 AM, Gabriel Hurley wrote: >>> Maybe it's an overly simplistic question, but: what makes the tests >>> slow curre

Re: Application to update the Test Suite

2010-04-10 Thread Russell Keith-Magee
On Sun, Apr 11, 2010 at 4:15 AM, Paul McMillan wrote: > Wow... lots of stuff here. > >> >> This is >> >> because SQLite uses an in-memory store, so it isn't disk bound; >> >> Postgres is disk bound, but is able to use transactions to optimize >> >> test setup and teardown; MySQL is also disk bound

Re: Customizable error message for ``unique_together`` constraints

2010-04-11 Thread Russell Keith-Magee
On Mon, Apr 12, 2010 at 10:15 AM, orokusaki wrote: > The idea is basically to allow for the customization of the error > message that's raised during ``validate_unique()``. > > Example Error: > Widget with this Account and Name already exists. > > More Useful Error: > You already have a Widget wit

Re: Pass Thru Image Proxy Patch Interest?

2010-04-14 Thread Russell Keith-Magee
On Wed, Apr 14, 2010 at 10:42 AM, Ed Menendez wrote: > Is there any interest in turning this into a patch for a new feature? > > http://menendez.com/blog/using-django-as-pass-through-image-proxy/ > > It should only be used on dev servers but it really is a huge time > saver for developers vs rsync

Re: High Level Discussion about the Future of Django

2010-04-14 Thread Russell Keith-Magee
On Wed, Apr 14, 2010 at 8:34 PM, veena wrote: > I know there's django deprecation policy nicely documented > http://docs.djangoproject.com/en/1.1/internals/release-process/#internal-release-deprecation-policy > > But what I don't know is how you discover it. Is it described > somewhere in the tex

Re: Pass Thru Image Proxy Patch Interest?

2010-04-14 Thread Russell Keith-Magee
On Wed, Apr 14, 2010 at 8:58 PM, Ed Menendez wrote: > Agree on avoiding additional setting. > > Re: cache > Basically if the file is not found locally then it goes out to the URL > to get it. So a local file couldn't be overwritten as that's the first > thing it checks. Cache is currently an optio

Re: Security hole with authenticated sessions

2010-04-15 Thread Russell Keith-Magee
On Thu, Apr 15, 2010 at 10:51 PM, subs...@gmail.com wrote: > Please note I've already consulted secur...@djangoproject.com about > this and Jacob told me to post it here if I wanted to. > > One problem with authenticated sessions is that, upon de-activation of > a user's account, any sessions that

Re: logialogin_required does not check User.is_active

2010-04-15 Thread Russell Keith-Magee
On Thu, Apr 15, 2010 at 11:20 PM, subs...@gmail.com wrote: > Thanks for breaking it down. > > On Mar 17, 7:45 am, Russell Keith-Magee > wrote: > >>  1) Don't touch the code. It's an annoying edge case, but it can be >> caught by shortening session timeouts

Re: High Level Discussion about the Future of Django

2010-04-16 Thread Russell Keith-Magee
On Sat, Apr 17, 2010 at 12:33 AM, sago wrote: > > On a completely unrelated note, any plans to move Django to git? I answered this exact question earlier in this thread. The answer is no, because it would make exactly no difference to anything. Search out the earlier answer for more detail. Your

Re: High Level Discussion about the Future of Django

2010-04-16 Thread Russell Keith-Magee
On Sat, Apr 17, 2010 at 7:30 AM, George Sakkis wrote: > On Apr 15, 8:57 pm, Kevin Howerton wrote: > >> The level of resistance I see to change or outsider code contribution >> is an enormous de-motivator for people (like me) to want to make any >> contributions in the first place.  Why should I c

Re: High Level Discussion about the Future of Django

2010-04-16 Thread Russell Keith-Magee
On Sat, Apr 17, 2010 at 6:02 AM, orokusaki wrote: > When I first started posting things on trac, I put up a request that > took me an hour to create, explaining the justification, as well as > putting the code in there. I didn't know how to make a patch, and I > went about it the wrong way, but re

Re: High Level Discussion about the Future of Django

2010-04-17 Thread Russell Keith-Magee
On Sat, Apr 17, 2010 at 7:14 PM, George Sakkis wrote: > On Apr 17, 5:35 am, "Tom X. Tobin" wrote: >> On Fri, Apr 16, 2010 at 10:10 PM, Russell Keith-Magee >> >> wrote: >> > However, at this point, I would like to tell you a story about four >>

Re: High Level Discussion about the Future of Django

2010-04-18 Thread Russell Keith-Magee
On Sun, Apr 18, 2010 at 12:10 AM, George Sakkis wrote: > On Apr 17, 3:47 pm, Russell Keith-Magee > wrote: > >> For the record, there are 62 tickets marked ready for checkin, not 400 >> [1]. 29 of those are documentation and translation patches (5 of which >> are specif

Re: High Level Discussion about the Future of Django

2010-04-18 Thread Russell Keith-Magee
On Sun, Apr 18, 2010 at 5:23 AM, orokusaki wrote: > Russell, > > This is what I meant by "straw hat" the other day. You took what I > said out of context in a sly attempt at ignoratio elenchi. I made it > clear in the first paragraph that **I started out thinking you were > closed minded**, but th

Re: High Level Discussion about the Future of Django

2010-04-19 Thread Russell Keith-Magee
On Mon, Apr 19, 2010 at 7:10 AM, David Cramer wrote: > I just want to throw my 2 cents into the ring here. I'm not against a > fork, but at the same time I want to see the Django mainline progress. > However, let me tell you my story, and how I've seen the Django > development process over the yea

Re: High Level Discussion about the Future of Django

2010-04-19 Thread Russell Keith-Magee
On Mon, Apr 19, 2010 at 1:27 PM, orokusaki wrote: > Russell, > > I apologize for the apparent argumentum ad nauseam. I am not trying to > be sly. I am just looking for open dialogue about ideas and I feel > like the door is closed and caucus is frowned upon. This is the only > way I feel like I ca

Re: Low-Hanging Fruit

2010-04-19 Thread Russell Keith-Magee
On Mon, Apr 19, 2010 at 10:26 PM, Shawn Milochik wrote: > > So, I'm asking for anyone in the core (or close to it) to specifically point > out any low-hanging fruit. This may seem on the face of it to be asking for > others to waste time they could be spending supporting proven, trusted Django

Re: Low-Hanging Fruit

2010-04-19 Thread Russell Keith-Magee
On Tue, Apr 20, 2010 at 5:20 AM, Don Guernsey wrote: > How do I sign up to help? Is there an overall schematic for how django > works? There's no official signup process; just dig in and get your hands dirty. General guidance on how to get started can be found here [1]. As for overall schematics

Re: Wherein Benjamin Franklin answers questions pertaining to the Django development process

2010-04-19 Thread Russell Keith-Magee
On Tue, Apr 20, 2010 at 7:23 AM, Bitrot McGee wrote: > Q: When will Django finally have every feature I want? > A: "Ambition has its disappointments to sour us, but never the good > fortune to satisfy us." > > Q: What the fuck is taking so long? > A: "As we enjoy great advantages from the inventio

Re: Cujo .... an experimental branch of django.

2010-04-20 Thread Russell Keith-Magee
On Wed, Apr 21, 2010 at 6:01 AM, Kevin Howerton wrote: > Cujo... for starters it's Amon Tobin's first moniker (he remixes jazz > into some delightful tunes, if you don't know of him I strongly > recommend you go to your local record store and pick up a copy of > "Adventures in Foam"). > > Also, I

Re: Trac workflow assistance (commiter feedback needed)

2010-04-23 Thread Russell Keith-Magee
On Fri, Apr 23, 2010 at 3:04 PM, Jeremy Dunck wrote: > Commiters and triagers, >  I've gone through the contributing doc and tried to identify places > that tickets might get stuck (or other places that automation might > smooth the process). >  If you could take a few minutes to give feedback on

Re: Trac workflow assistance (commiter feedback needed)

2010-04-23 Thread Russell Keith-Magee
On Sat, Apr 24, 2010 at 2:34 AM, Jeremy Dunck wrote: > On Fri, Apr 23, 2010 at 11:32 AM, Russell Keith-Magee > wrote: > Frequent contributors are not the only audience for this tool -- I'm > trying to help answer the question -- where is help most needed right > now? >

Re: Trac workflow assistance (commiter feedback needed)

2010-04-25 Thread Russell Keith-Magee
On Sun, Apr 25, 2010 at 10:54 PM, yml wrote: > Hello, > > On Apr 23, 12:32 pm, Russell Keith-Magee > wrote: >> On Fri, Apr 23, 2010 at 3:04 PM, Jeremy Dunck wrote: >> > Commiters and triagers, >> >  I've gone through the contributing doc and tried to id

Re: Trac workflow assistance (commiter feedback needed)

2010-04-25 Thread Russell Keith-Magee
On Mon, Apr 26, 2010 at 2:34 AM, yml wrote: > As you have noted I have avoided to the DVCS matter because I knew it > is a slippery slope and because it don't really matter. Launchpad > allows you to import branch from many of the popular VCS [1] cvs, svn, > git, hg.  The documentation mention tha

Re: Trac workflow assistance (commiter feedback needed)

2010-04-25 Thread Russell Keith-Magee
On Mon, Apr 26, 2010 at 4:48 AM, Gabriel Hurley wrote: > I've been dancing around this idea for a while. I know it's not a new > thought, and Alex Gaynor and Justin Lilly even started work on "piano > man" [1]... I'd be curious to know what the state of that project is > and if a few more devs wor

Re: (distributed) Documentation sprint -- Saturday May 8?

2010-04-26 Thread Russell Keith-Magee
On Tue, Apr 27, 2010 at 10:13 AM, Ramiro Morales wrote: > Hi all, > > What do you guys think about organizing something like this? The goal > and motivation help get the documentation contents as polished as > possible for the 1.2 release. > > If things go as planned the 1.2 RC should have been al

Re: EmailMessage mangles body text

2010-04-27 Thread Russell Keith-Magee
On Wed, Apr 28, 2010 at 9:38 AM, Leo wrote: > This is a fun one. If I do the following code in Django: > > from django.core.mail import EmailMessage > message = EmailMessage('blah', 'From puppies','b...@hope.com', > ['b...@hope.com']) > message.send() > > The message that appears on the other end

Re: EmailMessage mangles body text

2010-04-28 Thread Russell Keith-Magee
On Wed, Apr 28, 2010 at 1:52 PM, Leo wrote: >> This is the sort of bug that makes me want to give up my material >> possessions and go live in a cave somewhere. Ugh. > > You can imagine the fun we had tracking it down throughout the stack > trying to isolate the error case. It made me want to thro

Re: @Meebo - 2 Django Contractors Needed!

2010-04-30 Thread Russell Keith-Magee
On Fri, Apr 30, 2010 at 4:24 PM, Joshua Partogi wrote: > I've noticed that the mailing list name 'django-developers' always > creates confusion for first time users. You aren't the first person to make this suggestion. Here's the most recent discussion about the topic that I could find: http://g

Re: Upgrading Trac

2010-04-30 Thread Russell Keith-Magee
On Fri, Apr 30, 2010 at 11:06 PM, Jeremy Dunck wrote: > Separate from that, I'd like to open discussion on what it would take > to do the upgrade. To the best of my knowledge, the only things standing in the way of a Trac upgrade are: * Enthusiasm * Time The available quantities of these resou

Re: Upgrading Trac

2010-04-30 Thread Russell Keith-Magee
On Fri, Apr 30, 2010 at 11:11 PM, Jeremy Dunck wrote: > As long as I'm here, how much interest is there in review board? > http://code.google.com/p/reviewboard/ I'm not sure. Like Alex, I've never used reviewboard itself. I have used codereview.appspot to review some patches (mostly because Alex

Re: Upgrading Trac

2010-04-30 Thread Russell Keith-Magee
On Sat, May 1, 2010 at 1:57 AM, Mike Axiak wrote: > On Fri, Apr 30, 2010 at 11:56 AM, Russell Keith-Magee > wrote: >> So, if we were to integrate a code review tool, it would only be to >> support case 3. I don't have any concrete numbers to back me up, but >> my gut

Re: Upgrading Trac

2010-04-30 Thread Russell Keith-Magee
On Sat, May 1, 2010 at 1:03 AM, Jeremy Dunck wrote: > > On Apr 30, 2010, at 10:56 AM, Russell Keith-Magee > wrote: > >> On Fri, Apr 30, 2010 at 11:11 PM, Jeremy Dunck wrote: >>> >>> As long as I'm here, how much interest is there in review board?

Re: US Zip Code Field

2010-05-03 Thread Russell Keith-Magee
On Tue, May 4, 2010 at 2:23 AM, quindraco wrote: > I noticed that there is no class us.models.USZipCodeField in > django.contrib.localflavor.us, although there is a model for phone > numbers.  The django guide for submitting patches says to discuss > alternatives here first, so I wanted to do just

Re: Regression tests and translations for new localflavor feature.

2010-05-05 Thread Russell Keith-Magee
On Wed, May 5, 2010 at 9:03 PM, Felipe Prenholato wrote: > Hello people. > Last night I opened ticket 13473 that aims easy use of model fields for > Braziliam CPF and CNPJ fields (as showed in ticket). > After initial work, I need to construct tests and make translations. > My first point is: what

Re: Django 1.2 release candidate available

2010-05-06 Thread Russell Keith-Magee
On Fri, May 7, 2010 at 5:17 AM, Shawn Milochik wrote: > >> >> You are however allowed to start earlier if you buy Russ and Karen a >> drink, they deserve thanks for all the hard work they've put in. >> >> Alex > > Where's the PayPal donation link for this? You can support the Django Foundation di

Re: Hyperlinking template tags and filters in docs

2010-05-07 Thread Russell Keith-Magee
On Fri, May 7, 2010 at 8:42 AM, Luke Plant wrote: > Hi all, > > I've created a patch to our docs that hyperlinks all builtin template > tags and filters in code samples that are marked as 'html+django'. > This would be pretty hard to do at the render stage, so it is > implemented using jQuery. > >

Re: Hyperlinking template tags and filters in docs

2010-05-08 Thread Russell Keith-Magee
On Fri, May 7, 2010 at 11:54 PM, Luke Plant wrote: > On Friday 07 May 2010 12:23:46 Russell Keith-Magee wrote: > >> The one gotcha that I found was that it assumes you have simplejson >> installed (or that you're running Python 2.6). Given that Django >> ships simp

Re: django.db.models.Options contribute_to_class uses default connection instead of using DATABASE_ROUTERS

2010-05-10 Thread Russell Keith-Magee
On Tue, May 11, 2010 at 2:21 AM, Peter Long wrote: > Hi Django developers, > > I have been using the development copy of django from the svn trunk. I > think I may have found an area that needs updating now that django > supports multiple databases. I am not very familiar with the django > backend

Re: Class based generic views in 1.3?

2010-05-10 Thread Russell Keith-Magee
On Tue, May 11, 2010 at 5:39 AM, Jari Pennanen wrote: > I've been trying to figure out the state of class based generic views > without success. (Though syndication views seems to be class based now > at least.) > > If I figured out correctly the class based generic views does not land > on 1.2, s

Re: Class based generic views in 1.3?

2010-05-11 Thread Russell Keith-Magee
On Wed, May 12, 2010 at 1:35 AM, Jari Pennanen wrote: > > On 11 touko, 03:37, Russell Keith-Magee > wrote: >> show us the code!. >> >> [1] >> http://github.com/jacobian/django/tree/class-based-generic-views/django/views/generic2 > > Yes, well. I have b

Re: NB: New leader in group posting

2010-05-11 Thread Russell Keith-Magee
On Wed, May 12, 2010 at 8:18 AM, Jeremy Dunck wrote: > After years of Malcolm's legend response rate leading the chart, I'm > pleased to point out that there's a new name in all-time most-posted > to django-developers: > http://groups.google.com/group/django-developers/about So... where do I co

Re: django.db.models.Options contribute_to_class uses default connection instead of using DATABASE_ROUTERS

2010-05-12 Thread Russell Keith-Magee
On Wed, May 12, 2010 at 1:14 AM, Peter Long wrote: >> Sounds like a bug in the patch to me. As I said earlier, the options >> class doesn't have any knowledge about the database that is being used >> for a specific operation, so it can't enforce per-database >> restrictions. In the case of db_tabl

Re: Plug-ins for Django

2010-05-12 Thread Russell Keith-Magee
On Wed, May 12, 2010 at 2:01 PM, Siebert, Maria wrote: > Hi, > > for our Django project, we developed an application which enables the usage > of plug-ins for enhancement of the application. I know plug-ins for years > using them a lot in "classical" application development, so when starting >

Re: Plug-ins for Django

2010-05-13 Thread Russell Keith-Magee
On Thu, May 13, 2010 at 3:36 PM, Siebert, Maria wrote: > Hi, > > I don't want to get it into the django project itself, so I'm sorry, if I > choose the wrong ml. I'm searching > for informations how to build such a project for other developers, like, > where should this sources be > installed to

Re: Django Transaction Integrity

2010-05-15 Thread Russell Keith-Magee
On Thu, May 13, 2010 at 11:01 PM, Piet Delport wrote: > Hi, > I'm working with a company that uses and maintains a commercial Django-based > commercial system, which requires reliable transactional integrity across > groups of database operations in a number of places (financial transfers, > and s

Re: When your settings module causes an `ImportError`

2010-05-16 Thread Russell Keith-Magee
On Mon, May 17, 2010 at 6:10 AM, cool-RR wrote: > Hello all. > > This is my first time on Django-developers. > > I remember that a few months ago, when I was doing some Django work, > there was something that annoyed me. I hope I'm remembering this > correctly, please correct me if I'm wrong. It h

Re: Some bugs in manage multidb

2010-05-18 Thread Russell Keith-Magee
On Tue, May 18, 2010 at 5:08 PM, Alberto Paro wrote: > I'm developing a big application that does some complex mixing of database: > SQL and notSQL one. > I'm using the multidb to manage all the stuff in a django manner, using > routing to route items in MongoDB and Postgresql. > Some bugs that I'

Re: Patch for #6870: sending pre_delete before caching of related models

2010-05-18 Thread Russell Keith-Magee
On Tue, May 18, 2010 at 4:41 AM, Carl Gieringer wrote: > Hi Djangonauts, > > I'd like to call attention to a patch[0] I submitted last week for > #6870[1].  From one perspective, this ticket is a version of the "My > models with foreign keys are deleted when their related model deletes > because o

DjangoCon.eu is on right now

2010-05-24 Thread Russell Keith-Magee
Hi all, This is a reminder to everyone that DjangoCon.eu is on during this week. Jacob, Jannis, myself, and several other prominent django-dev contributors are in Berlin, and as a result, we may not be able to pay as much attention to django-dev as would would normally. So - if you post a Grand P

Re: DjangoCon.eu is on right now

2010-05-25 Thread Russell Keith-Magee
On Tue, May 25, 2010 at 2:41 PM, Graham Dumpleton wrote: > > > On May 24, 7:37 pm, Russell Keith-Magee > wrote: >> Hi all, >> >> This is a reminder to everyone that DjangoCon.eu is on during this >> week. Jacob, Jannis, myself, and several other prominent djan

Re: DjangoCon.eu is on right now

2010-05-25 Thread Russell Keith-Magee
On Tue, May 25, 2010 at 1:21 PM, Vinay Sajip wrote: > On May 24, 10:37 am, Russell Keith-Magee > wrote: >> >> We will be sprinting at the conference on Thursday and Friday. If you >> have a detailed proposal that would benefit from some round-table >> discussion whi

Re: django bugfix releases

2010-05-26 Thread Russell Keith-Magee
On Wed, May 26, 2010 at 8:22 AM, Mikhail Korobov wrote: > I want to raise the question about stable django micro-releases. > > 1.1 - July 2009, > 1.1.1 - October 2009 (released because of security bug), > 1.1.2 - May 2010 You're not the first person to notice this, and I agree that this is a long

Re: DjangoCon.eu is on right now

2010-05-28 Thread Russell Keith-Magee
On Tue, May 25, 2010 at 4:28 PM, Vinay Sajip wrote: > On May 25, 8:38 am, Russell Keith-Magee > wrote: >> >> Your timing is dead on, and I'm personally interested in targeting >> logging for 1.3. > > That's good news :-) > >> Agreed; Are you

Logging in Django

2010-05-28 Thread Russell Keith-Magee
Hi all, Following some discussion at the DjangoCon.eu sprints, here's what we've got on the table regarding adding logging support to Django. The core of Vinay's work is essentially ready to go -- the logging configuration code is an implementation of what has been accepted as a PEP, so there's n

Re: Proposal: First-class WSGI support in Django 1.3 / twod.wsgi

2010-05-28 Thread Russell Keith-Magee
On Thu, May 27, 2010 at 5:08 PM, Gustavo Narea wrote: > Hello, > > On May 26, 4:52 pm, Ivan Sagalaev wrote: >> Could you please give a concise technical overview, in high-level terms, >> on what twod.wsgi actually does to Django code? > > Sure. There are different components, so I'll elaborate on

Re: ipv6 support for runserver - stuck in DDN for 2 yrs

2010-05-31 Thread Russell Keith-Magee
On Fri, May 28, 2010 at 6:25 PM, Erik Romijn wrote: > Hi, > > I noticed that there is a patch for IPv6 support in runserver, > http://code.djangoproject.com/ticket/7735 , and a maintainer willing to > make it cleanly apply to the latest trunk. > > However, for some reason it's been stuck in DDN fo

Re: Logging in Django

2010-05-31 Thread Russell Keith-Magee
On Sat, May 29, 2010 at 12:46 AM, Vinay Sajip wrote: > > On May 28, 4:48 pm, Russell Keith-Magee > wrote: >> Following some discussion at the DjangoCon.eu sprints, here's what >> we've got on the table regarding adding logging support to Django. >> >&

Re: Logging in Django

2010-06-01 Thread Russell Keith-Magee
On Tue, Jun 1, 2010 at 3:14 PM, Vinay Sajip wrote: > > On Jun 1, 3:07 am, Russell Keith-Magee > wrote: >> >> My concern here is YAGNI. Can you suggest a specific use case where >> this will actually be required? > > I agree with the YAGNI principle generally, b

Re: FK Autocomplete Widget [GSoC '09 Admin UI Improvements]

2010-06-01 Thread Russell Keith-Magee
On Thu, May 27, 2010 at 8:26 PM, Philipp Metzler wrote: > hello, > > i'm looking for exactely the same solution for an "Ajax foreign key > filter in the Django admin interface" and hoped it would be integrated > into the admin interface. I think it should be standard behaviour and > could be confi

Re: Proposal: First-class WSGI support in Django 1.3 / twod.wsgi

2010-06-02 Thread Russell Keith-Magee
On Sun, May 30, 2010 at 2:07 AM, Gustavo Narea wrote: > Hello, > > On May 28, 6:13 pm, Russell Keith-Magee > wrote: >> This is all very helpful information; thanks for breaking it down like this. >> >> I've talked this over with a few people at the sprints, a

Re: Proposal: Nice(r) error messages when a user-provided module fails to load

2010-06-02 Thread Russell Keith-Magee
On Wed, Jun 2, 2010 at 1:58 AM, Charlie Nolan wrote: > It was suggested in bug #13480 that I raise this issue "during the 1.3 > feature discussion phase", which we seem to have entered. > > Essentially, the issue is that a typo in my_app/views.py or any of its > dependencies can raise an error on

Re: missing in SVN branches/releases/1.2.X

2010-06-03 Thread Russell Keith-Magee
On Thu, Jun 3, 2010 at 5:33 PM, Thomas Guettler wrote: > Hi, > > will there be a SVN branch releases/1.2.X? > > For 1.0 and 1.1 it exists: > > http://code.djangoproject.com/browser/django/branches/releases Yes - a 1.0.X and 1.1.X branch exists - but they weren't created until some time after the

Re: Progressing #8901 "last_insert_id() for postgres fails when the autoincrement sequence name is too long"

2010-06-03 Thread Russell Keith-Magee
On Thu, Jun 3, 2010 at 4:23 PM, Matt Hoskins wrote: > I haven't had a reply to this, which could have been bad timing > posting it around when the conference was happening, or it could be as > I gave the background first rather than summarising what I was after > first so people skipped over readi

Re: Proposal: Improvements for django.forms

2010-06-03 Thread Russell Keith-Magee
On Thu, Jun 3, 2010 at 7:41 PM, petr.marhoun wrote: > Hello, > > I would like to propose some improvements for django.forms. But it is > seven quite independent proposals - one mail would be to long, seven > emails would too many emails. So I have created wiki page - is it a > good procedure? It'

Re: Proposal: modular django configuration

2010-06-03 Thread Russell Keith-Magee
On Thu, Jun 3, 2010 at 11:19 PM, burc...@gmail.com wrote: > Hi all, > > I've written a prototype, and put it on > http://github.com/buriy/django-configurator. > It has few good design decisions, and few maybe not that good. > Anyway, I consider it as a good addition to app loading GSoC Proposal, >

Re: Proposal: Improvements for django.forms

2010-06-04 Thread Russell Keith-Magee
On Thu, Jun 3, 2010 at 11:32 PM, petr.marhoun wrote: > On Jun 3, 2:57 pm, Russell Keith-Magee > wrote: >> On Thu, Jun 3, 2010 at 7:41 PM, petr.marhoun wrote: >> > Hello, >> >> > I would like to propose some improvements for django.forms. But it is >>

Re: Proposal: modular django configuration

2010-06-04 Thread Russell Keith-Magee
On Fri, Jun 4, 2010 at 3:30 PM, burc...@gmail.com wrote: > Hi Russell, > > My writing style sometimes is really clumsy. I'm sorry about that. > > You might look at the end of the first message in the thread. > Or maybe the thread topic. > > The problem is that half of third party plugins write: "a

Re: Proposal: modular django configuration

2010-06-04 Thread Russell Keith-Magee
On Fri, Jun 4, 2010 at 11:54 PM, burc...@gmail.com wrote: > Hi Russell, > > I strongly disagree with your and Adrian vision of whether conventions > are good or not. > But I won't comment that any further. There are your political > decisions, and I have no single bit of control on them. > I know

Re: Proposal: modular django configuration

2010-06-05 Thread Russell Keith-Magee
On Sat, Jun 5, 2010 at 2:53 PM, burc...@gmail.com wrote: > On Sat, Jun 5, 2010 at 9:43 AM, Russell Keith-Magee > wrote: >> On Fri, Jun 4, 2010 at 11:54 PM, burc...@gmail.com wrote: >>> Hi Russell, >>> >>> I strongly disagree with your and Adrian vision of

Re: tests for ./manage.py validate

2010-06-07 Thread Russell Keith-Magee
2010/6/7 Filip Gruszczyński : > There is a small issue concerning validate command and ordering model > by pk. I would like to write a test for this (and a patch too), but I > have no idea where to put those tests and how exactly use it. > get_validation_errors from core.management.validation is us

Re: tests for ./manage.py validate

2010-06-07 Thread Russell Keith-Magee
2010/6/7 Filip Gruszczyński : >> The positive test cases (i.e., this model *doesn't* raise an error) >> aren't explicitly tested, beyond the fact that all the other models in >> the test suite need to validate before the test suite will run. > > So I can put new test together with some other orderi

Re: Is it possible to use Django with an API as its back-end?

2010-06-07 Thread Russell Keith-Magee
On Tue, Jun 8, 2010 at 10:21 AM, ingraveswetrust wrote: > Hello fellow Django enthusiasts!  I'm a very new Django user, and have > been experimenting with Django 1.2 for the last few weeks.  Thus far, > I love it!  I love that it has thus far been so simple for me to > learn, that the documentatio

Decision required: PostgreSQL minimum versions

2010-06-09 Thread Russell Keith-Magee
Hi all, While we support PostgreSQL, our documentation doesn't actually specify a minimum supported version. We have a couple of features that are no-ops for versions prior to 8.2 (savepoints and database autocommit), but we don't actually document a minimum required version. We have a specified

Re: Django Related-Object Links in Admin

2010-06-09 Thread Russell Keith-Magee
On Wed, Jun 9, 2010 at 5:25 AM, Simon Meers wrote: > On 25 May 2010 07:50, Simon Meers wrote: >> >> I've uploaded some screenshots [1] of the new patch for #13163 [2] and >> #13165 [3] in action, to allow people to see the affect without >> necessarily applying the changes. >> >> These enhancemen

Re: Beating on an old issue; counter intuitive cascade deletes on foreign keys

2010-06-09 Thread Russell Keith-Magee
On Wed, Jun 9, 2010 at 3:53 AM, Peter Bengtsson wrote: > On 8 June 2010 13:09, Jeremy Dunck wrote: >> On Tue, Jun 8, 2010 at 7:30 AM, Peter Bengtsson wrote: >>> I've now had to learn this the hard way by having real live data >>> deleted from my database on two production projects and it pisses

Re: Beating on an old issue; counter intuitive cascade deletes on foreign keys

2010-06-10 Thread Russell Keith-Magee
On Thu, Jun 10, 2010 at 2:53 PM, Thomas Guettler wrote: > The documentation says django emulates "ON DELETE CASCADE": >   http://docs.djangoproject.com/en/dev/topics/db/queries/#deleting-objects > > But it is missing how to emulate ON DELETE SET NULL. > > In this thread Kevin Howerton posted an ab

Re: Decision required: PostgreSQL minimum versions

2010-06-10 Thread Russell Keith-Magee
On Wed, Jun 9, 2010 at 11:07 PM, Jacob Kaplan-Moss wrote: > On Wed, Jun 9, 2010 at 6:59 AM, Russell Keith-Magee > wrote: >> PostgreSQL 7.4 was released in November 2005, and will be end-of-lifed >> (along with PostgreSQL 8.0) in July this year. Our usual yardstick of >

Re: Query Refactor Status Update

2010-06-10 Thread Russell Keith-Magee
On Wed, Jun 9, 2010 at 4:25 AM, Waldemar Kornewald wrote: > On Tue, Jun 8, 2010 at 8:55 PM, Alex Gaynor wrote: >> On Tue, Jun 8, 2010 at 12:11 PM, Waldemar Kornewald >> wrote: >>> On Tue, Jun 8, 2010 at 7:03 PM, Alex Gaynor wrote: On Tue, Jun 8, 2010 at 2:37 AM, Waldemar Kornewald w

Re: Decision required: PostgreSQL minimum versions

2010-06-10 Thread Russell Keith-Magee
On Thu, Jun 10, 2010 at 4:21 PM, si...@2ndquadrant.com wrote: > > On Jun 10, 6:53 am, Paul McMillan wrote: >> +1 for option 2. >> >> Changing 1.2 behavior now seems like a bad idea, and Jacob's arguments >> are good. > > Jacob's arguments are good; I would suggest Django goes further still. > > P

Re: Decision required: PostgreSQL minimum versions

2010-06-10 Thread Russell Keith-Magee
On Thu, Jun 10, 2010 at 11:30 PM, Simon Riggs wrote: > On Thu, 2010-06-10 at 22:29 +0800, Russell Keith-Magee wrote: > >> There appears to be some confusion here. We're not recommending a >> version of PostgreSQL that end-users should use; we're nominating the >

<    1   2   3   4   5   6   7   8   9   10   >