Re: Simple_tag revamp: now takes context and inner block #1105

2008-06-24 Thread Julien Phalip
Hi all, If you're interested and would like to see this checked in, you can have a look at ticket #1105 [1]. There is now fully functional code + documentation + tests. I personally think it's a good enhancement for simple_tag as it'd make creation of most template tags (in particular tags

more DDN Tickets

2008-06-24 Thread Jeff Anderson
Here is another list: #6003 (from nfa-blocker) There really hasn't been much discussion on the ticket itself. From reading the description, I'd +1 it. http://code.djangoproject.com/ticket/6003 #6450 also looks interesting... also not much discussion. http://code.djangoproject.com/ticket/6450

locale based problem

2008-06-24 Thread Alper KANAT
hey all, i'm developing my whole website with django and i'm almost done.. (planning to produce it next month) any way, i've written a class that renders a calendar with a given object.. the problem here is, it only returns the day names and month name in English.. i wrote

Re: URL Resolvers: a little refactoring goes a long way

2008-06-24 Thread David Larlet
Ken, It looks interesting but are there any examples of your urlresolver usage? David Le 24 juin 08 à 21:35, Ken Arnold a écrit : > > newforms-admin has a special-cased URL dispatcher in site.py. (see > #6470) > > Various REST-ish frameworks have a '.*' url mapping and a similar > hacky

reconsidering the view permission

2008-06-24 Thread Travis Cline
I recently uploaded a patch rebased to nfa head for adding a view permission. http://code.djangoproject.com/attachment/ticket/7150 http://code.djangoproject.com/attachment/ticket/7150/newforms-admin-view-permission-r7737.patch While I understand admin isn't intended to be a data browsing tool I

Re: nfa-blocker #6004

2008-06-24 Thread Luke Plant
On Tuesday 24 June 2008 19:28:46 Jeff Anderson wrote: > Jeff Anderson wrote: > > This ticket was marked as Design Decision Needed because the > > patch was old. I've updated the patch to work with the current > > SVN. Is there anything else holding it back from being checked > > in? > > > > Jeff

URL Resolvers: a little refactoring goes a long way

2008-06-24 Thread Ken Arnold
newforms-admin has a special-cased URL dispatcher in site.py. (see #6470) Various REST-ish frameworks have a '.*' url mapping and a similar hacky dispatcher. Django has a nice URL dispatcher in core/urlresolvers.py, which could drop in and replace those ad-hoc dispatchers. Only it takes the

Re: nfa-blocker #6004

2008-06-24 Thread Jeff Anderson
Jeff Anderson wrote: This ticket was marked as Design Decision Needed because the patch was old. I've updated the patch to work with the current SVN. Is there anything else holding it back from being checked in? Jeff Anderson ::bump:: This ticket is about 3% of the first milestone.

Re: Changeset [7735]: newforms-admin: Fixed #6905 - allow custom form class to be used for …

2008-06-24 Thread Jeff Anderson
Unfortunately, this wasn't my idea. I just triaged it three months after anonymous came up with said patch. http://code.djangoproject.com/changeset/7735/1214331065 signature.asc Description: OpenPGP digital signature

DDN: Contrib apps testing their own views (#7521)

2008-06-24 Thread Marc Fargas
Hi all, You may have noticed that [7716] raised a few bugs around (#7514, #7517 and #7521) the nice one is #7521, which is now marked DDN. The issue raised by this ticket is that "mange.py test" would fail to run tests when you had contrib.auth in your INSTALLED_APPS. That is because [7716]

Re: List of DDN Tickets

2008-06-24 Thread Ludvig Ericson
On Jun 23, 2008, at 19:45, AmanKow wrote: > Actually, 'required' is an argument to the *Model* field constructor, > and models are *not* always initialized from html forms. The field > certainly doesn't have to be represented as a checkbox in a form, > either. > [...] Yes, all of that is

including the nested exception's traceback in new raised exception

2008-06-24 Thread Graham Carlyle
Hi There are a number of place in the django codebase that trap Exception and then raise a new exception but only convert the original exception to a string to indicate what went wrong. Its often necessary to see the full traceback of the original exception to work out whats going wrong. The one