Re: newforms: custom error messages

2007-04-08 Thread Max Battcher
On 4/8/07, Ceph <[EMAIL PROTECTED]> wrote: > > There's an open ticket currently regarding custom error messages in > newforms: http://code.djangoproject.com/ticket/3457 > > I currently have an ugly hack in place that gives me an error_message= > parameter for the field types I use, but, it's ugly,

Re: contrib proposal: django-values

2007-04-08 Thread Adrian Holovaty
On 4/8/07, Max Battcher <[EMAIL PROTECTED]> wrote: > It's a magic numbers (avoidance) framework. I know this is going to > sound like a joke, but what about calling it > django.contrib.magic_numbers? But we've *removed* the magic! :) I like the idea of thinking out of the box, though, along th

Re: contrib proposal: django-values

2007-04-08 Thread oggie rob
> I'm glad you like it! I really hope it does help many other people who > have a need for something like this. I'm very eager to hear what other > thoughts and questions you (and anyone else!) have about it. I'm glad > to clarify. > > -Gul Good timing! I was planning to look to something like th

Re: contrib proposal: django-values

2007-04-08 Thread Max Battcher
On 4/8/07, Gulopine <[EMAIL PROTECTED]> wrote: > > > * The name "values" is a bit too abstract -- it took me a while to > > figure out exactly what this framework *does*. Maybe something like > > "editable constants" or "model-specific options" would be more clear. > > I will admit that I never re

Re: editable attribute limitation

2007-04-08 Thread Malcolm Tredinnick
On Sun, 2007-04-08 at 15:40 +, [EMAIL PROTECTED] wrote: > You must mean those: > > http://code.djangoproject.com/ticket/1714 > http://code.djangoproject.com/ticket/342 > > I'm currently trying to create a patch but I'm not really confortable > with changing options so I'd rather have input f

Re: contrib proposal: django-values

2007-04-08 Thread Gulopine
> * The name "values" is a bit too abstract -- it took me a while to > figure out exactly what this framework *does*. Maybe something like > "editable constants" or "model-specific options" would be more clear. I will admit that I never really had a clear idea on what to call it. I knew going in

newforms: custom error messages

2007-04-08 Thread Ceph
There's an open ticket currently regarding custom error messages in newforms: http://code.djangoproject.com/ticket/3457 I currently have an ugly hack in place that gives me an error_message= parameter for the field types I use, but, it's ugly, and doesn't work entirely. I'm working on getting a r

Re: contrib proposal: django-values

2007-04-08 Thread Adrian Holovaty
On 4/7/07, Gulopine <[EMAIL PROTECTED]> wrote: > http://code.google.com/p/django-values/ > > It is essentially an entire subframework, but it exists entirely as a > contrib app, utilizing newforms and standard Django permissions for > its value editor, and supplying class attributes for direct use

Re: Attaching files to bug tickets

2007-04-08 Thread Gary Wilson
Jure Čuhalev wrote: > I was receiving same error. The problem happened when I tried to > upload a file that was gzipped. After attaching plain-text patch it > worked. I have a session with my name inside trac. > > Hope this helps in debugging. The problem is with Trac: http://trac.edgewall.org/

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-04-08 Thread Adrian Holovaty
On 4/7/07, Baptiste <[EMAIL PROTECTED]> wrote: > I don't know how that was before, but with your commits of today, I > can't access the list of some models (some others still work), because > of the error : 'NoneType' object has no attribute 'manager' (/django/ > contrib/admin/filterspecs.py in __

Re: Attaching files to bug tickets

2007-04-08 Thread Jure Čuhalev
I was receiving same error. The problem happened when I tried to upload a file that was gzipped. After attaching plain-text patch it worked. I have a session with my name inside trac. Hope this helps in debugging. regards, jure On 3/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Trac d

Looking For Programming Job?

2007-04-08 Thread mike
Find Your Programming Job Vacancy and resources here --> http://www.jobbankdata.com/job-programming.htm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: editable attribute limitation

2007-04-08 Thread [EMAIL PROTECTED]
You must mean those: http://code.djangoproject.com/ticket/1714 http://code.djangoproject.com/ticket/342 I'm currently trying to create a patch but I'm not really confortable with changing options so I'd rather have input from the devs. Currently, "editable=False" for a field really means privat

Re: SortedDict.__repr__

2007-04-08 Thread Forest Bond
On Sun, Apr 08, 2007 at 12:16:00PM +0800, Russell Keith-Magee wrote: > On 4/7/07, Forest Bond <[EMAIL PROTECTED]> wrote: > > > Attached is a patch that re-implements __repr__ using an iterator over the > > object. Thus, SortedDict's are displayed properly in the Python shell. > > Hi Forest, > >

Re: Backwards incompatible changes

2007-04-08 Thread Jacob Kaplan-Moss
On 4/8/07, Simon G. <[EMAIL PROTECTED]> wrote: > I believe that the plan for 1.1 is to rewrite Django in Lisp or > Haskell. Or is Scheme the cool one now? Erlang! Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Backwards incompatible changes

2007-04-08 Thread Simon G.
I believe that the plan for 1.1 is to rewrite Django in Lisp or Haskell. Or is Scheme the cool one now? j/k --Simon On Apr 8, 4:34 am, "Noah" <[EMAIL PROTECTED]> wrote: > I'm worried about a trend I've seen before in other frameworks etc. > They start off easier to use and over time get more an

Re: r4941 - django/branches/newforms-admin/django/contrib/admin

2007-04-08 Thread Simon G.
This was reported way back in the triple-digit days: http://code.djangoproject.com/ticket/987 I took a couple of stabs at it a while ago. I patched HttpResponseRedirect to prepend the domain to the current site specified by settings.SITE_ID, as long as it's not the default "example.com" (anyone

Re: [Changeset] r4941 - django/branches/newforms-admin/django/contrib/admin

2007-04-08 Thread Malcolm Tredinnick
On Sun, 2007-04-08 at 12:52 +0200, Matias Hermanrud Fjeld wrote: > Adrian Holovaty wrote: > > On 4/6/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > >> We currently have a bug in HttpResponseRedirect: the HTTP spec requires > >> using absolutely URLs in the Location header for redirects

Re: [Changeset] r4941 - django/branches/newforms-admin/django/contrib/admin

2007-04-08 Thread Matias Hermanrud Fjeld
Adrian Holovaty wrote: > On 4/6/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > >> We currently have a bug in HttpResponseRedirect: the HTTP spec requires >> using absolutely URLs in the Location header for redirects. >> > > This is a tricky one... Ideally, HttpResponseRedirect would a

Re: Status of SQLAlchemy branch

2007-04-08 Thread Norjee
As very little seems to happen in the field of sqlalchemy, I started to experiment on my own.. But my approach is about the opposite of the one that has mostly been proposed. But then again, my goal has been different as well, most important for me was to be able to use the query language with mor