Re: Validation Aware Models and django.forms on steroids

2006-08-25 Thread Brantley Harris
On 8/25/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > The whole raising a Form thing is just a shocking idea. > > Which, right there, is what I'm opposed to it. Often there's a reason > why things are usually done one way, and I don't want to break from > the standard way of using exception

Re: Bump again - #2333/Django testing framework

2006-08-25 Thread Jacob Kaplan-Moss
On Aug 25, 2006, at 8:21 PM, Russell Keith-Magee wrote: > Sorry to be the squeaky hinge here, but is anyone looking at the > testing > framework patches associated with #2333? > > At last count, I believe Malcolm was happy with the patches as they > stand; > however, I'm still looking other co

Re: db_index not creating indexes with syncdb

2006-08-25 Thread Russell Keith-Magee
On 8/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: It looks like syncdb has a bug in that it doesn't create the indexes --at least on MySQL. You are correct (and it's not just with MySQL). This is a bug born of the way that syncdb installs applications. For some reason, it doesn't defer to in

Bump again - #2333/Django testing framework

2006-08-25 Thread Russell Keith-Magee
Hi all,Sorry to be the squeaky hinge here, but is anyone looking at the testing framework patches associated with #2333?At last count, I believe Malcolm was happy with the patches as they stand; however, I'm still looking other comments, plus a blessing from a higher power before I commit anything

Re: Validation Aware Models and django.forms on steroids

2006-08-25 Thread Ahmad Alhashemi
On Aug 24, 2006, at 2:21 PM, Brantley Harris wrote: > > The whole raising a Form thing is just a shocking idea. +1 At first, I really digged this raising a Form, but then I realized that it is just returning a value, but too cleverly... 1. It feels like a goto is happening (execution jumping in

Re: Validation Aware Models and django.forms on steroids

2006-08-25 Thread Jacob Kaplan-Moss
[Pulling together quotes from a few messages] On Aug 24, 2006, at 2:21 PM, Brantley Harris wrote: > My problem with Joseph's proposal is that I believe it to be too tied > to the concept of the Model. Idealy, the Form/Manipulator should not > really have anything to do with a Model, except perha

Re: SOC Integration Plan/Policy/Timeline

2006-08-25 Thread Jacob Kaplan-Moss
On Aug 25, 2006, at 11:29 AM, Linicks wrote: > Now that the "Summer Of Code" projects are complete, is there a > plan/policy/timeline for integrating these branches with Trunk? Nothing concrete, really. I imagine we'll take a few weeks to review what's been done (and give the students a chance

Re: Modular Django

2006-08-25 Thread Jacob Kaplan-Moss
On Aug 25, 2006, at 4:34 PM, lugal wrote: > For a personal project, I modified Django's urlresolvers module to > make > it into a piece of WSGI middleware. I liked Django-style URL > dispatching but I didn't need the whole framework. That's cool -- mind posting your code somewhere? > 1) Develo

Modular Django

2006-08-25 Thread lugal
For a personal project, I modified Django's urlresolvers module to make it into a piece of WSGI middleware. I liked Django-style URL dispatching but I didn't need the whole framework. >From that experience, I can see at least a few ways to modularize Django components: 1) Develop a loosely coupl

Re: I18N+Database Problem

2006-08-25 Thread Matthew Marshall
AFAIK, django's i18n support is mainly for static strings in the code and templates. For keeping multiple translations of database content, you'll need something more. This might work for you: http://trac.studioquattro.biz/djangoutils/wiki/TranslationService I also started working on a translat

SOC Integration Plan/Policy/Timeline

2006-08-25 Thread Linicks
Now that the "Summer Of Code" projects are complete, is there a plan/policy/timeline for integrating these branches with Trunk? Thanks! --Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" gro

Re: Dynamic Menus...

2006-08-25 Thread Linicks
Take a look at the js option (http://www.djangoproject.com/documentation/model_api/). --Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-de

Re: BigIntegerField

2006-08-25 Thread Linicks
I have wanted this as a built in "Type" for some time. I usually just do some manual SQL to alter the columbs that I need to be "Big Integers", but it would be nice to have them built in, especially for the default row id created for each table. Hopefully this will make its way into the trunck

Re: django unicode-conversion, beginning

2006-08-25 Thread Victor Ng
Hi gabor, I've put up some patches to help with the unicode conversion of django. We have a site which is shortly going to production where we actually have to handle multiple unicode scripts including some which have characters that do not fall into iso-8859-1. Since I'm pretty lazy and I'm not

Re: Validation Aware Models and django.forms on steroids

2006-08-25 Thread DavidA
One comment on ValidationErrors: When I've done these types of things in the past, I've typically returned two levels of validations messages: warnings and errors. An error indicates that the attempted save will fail (i.e. it would either cause a an object to be saved in an invalid state or it wou

Re: Dynamic Menus...

2006-08-25 Thread David Martinez
Hey! I saw you on a Google video! I feel like I'm talking to a celeb! :-) --Dave Jacob Kaplan-Moss wrote: On Aug 24, 2006, at 2:14 PM, mediumgrade wrote: Don't know if this is a Django question or not, but here is the situation: I am developing an application for a client who