Re: auto_name for newforms

2007-08-23 Thread Adrian Holovaty
On 8/22/07, james_027 <[EMAIL PROTECTED]> wrote: > while the auto_id features of newforms is more on dealing on the > client side, could it good to have auto_name feature also? To give you > an idea, I am dealing here with a master details form where in the > details part will compose of more

Re: django on jython (new version)?

2007-08-23 Thread Leo Soto M.
On 8/24/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > It seems a JDBC/DB-API bridge is in order, but again, that seems like > a thing for the Jython distro. That's already distributed with Jython: http://www.jython.org/docs/zxjdbc.html > Then (I think) a single JDBC Django backend would do.

Re: django on jython (new version)?

2007-08-23 Thread Jeremy Dunck
On 8/23/07, Leo Soto M. <[EMAIL PROTECTED]> wrote: ... > That's easy to solve: Just copy optparse.py from the python 2.3 > distibution to the jython Lib directory. Odd; I thought it must be a C module, since Jython is under the Python license and it'd make a lot more sense for them to ship the

Re: django on jython (new version)?

2007-08-23 Thread Jeremy Dunck
On 8/23/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > > Oh wow, I hadn't noticed Jython 2.2 yet (I've been out of town)! I'm > wondering this myself, since my employer uses strictly Java, $ java -jar jython.jar -Dpython.path=/home/jeremwork/djtrunk ~/work/djtrunk/tests/runtests.py Traceback

Re: Django moving from SVN to distributed VCS

2007-08-23 Thread Adrian Holovaty
On 8/23/07, Almad <[EMAIL PROTECTED]> wrote: > I'd like to ask if there is any possibility for moving django from SVN > to some distributed version control system. No, there is no possibility for moving Django from Subversion at this time. The benefits would not outweigh the downsides, which are

django on jython (new version)?

2007-08-23 Thread World Domination Kites
Jython 2.2 was just released. This article claims it supports Python 2.2 and 2.3 language features. http://www.theserverside.com/news/thread.tss?thread_id=46661 http://www.jython.org/Project/download.html Does this mean I will finally be able to use Django in my stuffy corporate app server

GSoC 2007: Reusable Django applications

2007-08-23 Thread Jannis Leidel
Hi, After the official end on monday and two weeks without a real status update on my GSoC project I'd like to share some thoughts and ideas that came up during the summer. As a spoiler (or if you don't feel like reading the big chunk of text below): I have not completed all of my original

Re: delete-object, cascading

2007-08-23 Thread Russell Keith-Magee
On 8/24/07, Gábor Farkas <[EMAIL PROTECTED]> wrote: > > or, to turn this into more constructive discussion, what's the preferred > thing to do, when someone does not get an answer to such a 'design > decision needed' mail? should he wait more than i waited before he > re-sends his question? how

Re: svn:ignore for new management package

2007-08-23 Thread Russell Keith-Magee
On 8/23/07, John Shaffer <[EMAIL PROTECTED]> wrote: > > Thank you. There's one other directory that should be changed - > tests/regressiontests/test_client_regress has an svn:ignore of > "__init__.pyc", but actually includes several other files. Committed in [5994]. Thanks for the heads up.

Re: Django moving from SVN to distributed VCS

2007-08-23 Thread Kevin Menard
On 8/23/07, Honza Král <[EMAIL PROTECTED]> wrote: > Do you really need this? I am currently keeping my own two branches in > git repository, that I synchronize with the master svn repository. > > It is very simple to do and completely painless. As you said yourself > - since there are many

Re: Django moving from SVN to distributed VCS

2007-08-23 Thread Honza Král
Do you really need this? I am currently keeping my own two branches in git repository, that I synchronize with the master svn repository. It is very simple to do and completely painless. As you said yourself - since there are many conversion tools, nothing is stopping you from running your own

Re: delete-object, cascading

2007-08-23 Thread Gábor Farkas
Russell Keith-Magee wrote: > On 8/23/07, Gábor Farkas <[EMAIL PROTECTED]> wrote: >> hi, >> >> i posted this one week ago, could someone with commit access please >> respond to it? > > If we're haven't addressed these tickets, it's not because we don't > want to - we have just had other

Django moving from SVN to distributed VCS

2007-08-23 Thread Almad
Hi, I'd like to ask if there is any possibility for moving django from SVN to some distributed version control system. Move would be painless (at least on Mecurial from my experience) as there are converting tools (hgsvn), it works on almost all platforms, there is a trac plugin (so tickets,

Re: svn:ignore for new management package

2007-08-23 Thread John Shaffer
On 8/23/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > Thanks. I've added a few missing svn:ignore properties, including the > ones you mentioned, in [5993]. Thank you. There's one other directory that should be changed - tests/regressiontests/test_client_regress has an svn:ignore of

Admin and Related Models/Fields

2007-08-23 Thread [EMAIL PROTECTED]
I know the admin contrib package is getting a major overhaul right now as well as some of the query internals. So my question is, is there a patch coming soon where we will be able to include related fields of models in the admin columns as well as search sort and filter on them? If not, is it a

Re: svn:ignore for new management package

2007-08-23 Thread Russell Keith-Magee
On 8/23/07, Deryck Hodge <[EMAIL PROTECTED]> wrote: > > Hi, all. > > svn:ignore is not set for .pyc files on the new management package. I > know I can set my own global svn config, but since we do it for all > the rest of Django, I thought I would point it out. Thanks. I've added a few missing

refactoring has_perm (and other permission stuff)

2007-08-23 Thread Florian Apolloner
Hi, I am planning to rewrite the permission system in Django. Why? I am currently working a lot with ldap and use the auth_backend to auth users against the ldap-server. But working with permissions is somewhat painful, so I am planning to move the permission stuff to the auth_backend. I would

Re: delete-object, cascading

2007-08-23 Thread Gábor Farkas
hi, i posted this one week ago, could someone with commit access please respond to it? thanks, gabor Gábor Farkas wrote: > hi, > > when django deletes an object (using the object's delete() method), > then all related objects are also deleted. > > this is not always a good thing. > >

Re: Using MySQL replication

2007-08-23 Thread Adrian Holovaty
On 8/22/07, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > I am now at the prospect of using a MySQL database in the form of a > 2-machine master-slave cluster. If I understand things right this > requires Django to actually know which queries should be directed to > which host, i.e. writes on

Re: proposal: update QuerySet.get() to return a default if object does not exist?

2007-08-23 Thread Adrian Holovaty
On 8/22/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > So - I would suggest holding off for a week or two (to let the dust > settle on the refactor), and then poke this issue again. For the > record, I think the general idea has merit, we just need to finess > some details. Yeah, we should