Re: Call for comment: Forms/manipulator replacement, take 1

2006-10-27 Thread Adrian Holovaty
On 10/27/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > I'd rather remove value from __init__() and use render(self, data). > It's just a feeling, but it looks more appealing to me not to > put the data into the Widget object since I consider 'render' a function > of the value. Perhaps it would a

Re: Re: Akismet is playing up

2006-10-27 Thread Russell Keith-Magee
On 10/28/06, Jared Kuolt <[EMAIL PROTECTED]> wrote: > > I haven't been able to submit anything. And I like to think I > contribute quality material! Please don't take it personally. We value any contribution from anyone that isn't trying to sell us viagra. Askimet is well and truly on the fritz.

Re: access to db views, sortable columns in tables

2006-10-27 Thread Russell Keith-Magee
On 10/27/06, soundseeker <[EMAIL PROTECTED]> wrote: > > hi, Minor note for future reference - this question should have been sent to Django-Users, not Django-Developers. The developers list is for discussing changes/modifications to Django itself, not 'how do I do X' questions. > assuming there

Re: Spamblocked ticket: #2282 (Urlify in admin compatible with accents)

2006-10-27 Thread David Larlet
2006/10/27, orestis <[EMAIL PROTECTED]>: > > Here's a thought: > > Can't every language have its own urlify.js file ? Like urlify.fr.js, > urlify.el.js, urlify.de.js etc. Django selects the correct one by > looking at the Locale settings, or falls back at the default (English) > one if there isn't

Login required across entire project Middleware

2006-10-27 Thread Jared Kuolt
I'd like to add a Middleware class that I wrote to the Wiki, but I keep getting rejected by askimet. The class requires an authenticated user for every view. This is beneficial for any closed project. Does anyone suppose something like this is beneficial enough to make it into the Django source?

Re: Akismet is playing up

2006-10-27 Thread Jared Kuolt
I haven't been able to submit anything. And I like to think I contribute quality material! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-devel

Error message when using wrong filter keyword could be more helpful

2006-10-27 Thread Ned Batchelder
(This is a ticket that Akismet wouldn't allow.) When I use the wrong filter keyword (for example, a typo in a field name), the error message says, TypeError: Cannot resolve keyword 'storyitems' into field Much nicer would be to show the list of field name that can be used: TypeError: Cannot re

Re: Call for comment: Forms/manipulator replacement, take 1

2006-10-27 Thread Michael Radziej
On Thu, Oct 26, 2006 at 11:15:22PM -0500, Adrian Holovaty wrote: > class Widget(object): > def __init__(self, name, value, label=None, attrs=None): > if value in EMPTY_VALUES: value = '' > self.name, self.value, self.label = name, value, label > self.attrs = attrs or {

Re: Call for comment: Forms/manipulator replacement, take 1

2006-10-27 Thread Istvan Albert
>{{ form.message.errors }} >Message: {{ form.message }} A very common use case is to format/highlight the error message or input area upon error. I can already see myself extending the Form class to include something of the sorts {{ form.message.errors }} Message: {{ form.message }} whe

Re: Comments system

2006-10-27 Thread Gary Wilson
James Bennett wrote: > My personal preference would be to specify an interface that comments > have to implement, and then let the actual model be whatever the > developer wants; maybe a subclass of django.contib.models.Comment, > maybe not. That feels like it'd give the maximum flexibility, and a

Re: Open suggestion to dev team

2006-10-27 Thread iain duncan
On Fri, 2006-27-10 at 09:27 -0500, Adrian Holovaty wrote: > On 10/27/06, iain duncan <[EMAIL PROTECTED]> wrote:> > > I would like to > > recommend a fantastic book on this topic, Karl Fogel's "Producing Open > > Source Software". > > Hey Iain, > > I've got the book, I've read it, and I've even m

enable trac's ticket_show_details option?

2006-10-27 Thread Gary Wilson
The ticket_show_details option [1] adds the ability for users to view ticket detail changes in the timeline view. I think this would be nice to have. [1] http://trac.edgewall.org/wiki/TracIni#timeline-section --~--~-~--~~~---~--~~ You received this message becau

Spamblocked ticket: #2282 (Urlify in admin compatible with accents)

2006-10-27 Thread orestis
Here's a thought: Can't every language have its own urlify.js file ? Like urlify.fr.js, urlify.el.js, urlify.de.js etc. Django selects the correct one by looking at the Locale settings, or falls back at the default (English) one if there isn't any. This is: a) Easier to maintain, the group resp

Akismet is playing up

2006-10-27 Thread orestis
It seems that Akismet is rejecting many spam negatives... It's a pain in the rear :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@

sqlite: You can only execute one statement at a time

2006-10-27 Thread sandro.dentella
On a debian testing, after upgrading to sqlite 3.3.7-1 and pysqlite 2.05 (python2.4) a project that was working correctly before now issues: Warning at /accounts/login/ You can only execute one statement at a time. Request Method: GET Request URL:http://localhost:8000/accounts/login/

raw_id_admin and non-integer primary keys... again

2006-10-27 Thread [EMAIL PROTECTED]
I get the validation error "Enter only digits separated by commas." in admin when I try and add elements from a related table with non-integer primary key using raw_id_admin. This was previously solved in chgsets 785 and 790 (ticket #586) but I'm guessing something went amiss in m-r? I'm using Cha

Re: Call for comment: Forms/manipulator replacement, take 1

2006-10-27 Thread Russell Keith-Magee
On 10/27/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > It's not 100% finished. Not all the common validators are implemented, > nor are all of the HTML form widgets. But the basic design is there. > I'm trying to "release" early and often to get plenty of critiques > before things get stable.

Re: Django - Oracle status?

2006-10-27 Thread ogghead
November 4th, that is. My bad. ogghead wrote: > ... > Here's a reminder of the Django-Oracle sprint wiki page: > http://wiki.python.org/moin/BoulderSprint > > Please update that page with any pointers or resources you know of that > are relevant. And add yourself to the list if you can be there

Re: Django - Oracle status?

2006-10-27 Thread ogghead
Jacob, I apologize I must have missed your earlier email on this list. If you're still considering flying out to Boulder for the sprint, we would love to have you of course. I have a guest bedroom you are welcome to if you would like. Malcolm, thanks for the tips on management.py. I'm trying to

Re: Open suggestion to dev team

2006-10-27 Thread Adrian Holovaty
On 10/27/06, iain duncan <[EMAIL PROTECTED]> wrote:> > I would like to > recommend a fantastic book on this topic, Karl Fogel's "Producing Open > Source Software". Hey Iain, I've got the book, I've read it, and I've even met with the author, who is a fellow Chicago native and a super-nice guy. I

access to db views, sortable columns in tables

2006-10-27 Thread soundseeker
hi, assuming there is a former created database: 1. is there an easy way to acces database views -> no 'id' columns 2. how to sort the columns of a table in the web browser? I could'n find any handy (step by step) tutorial. thank you, robert --~--~-~--~~~---~--~---

Re: Call for comment: Forms/manipulator replacement, take 1

2006-10-27 Thread Gábor Farkas
Adrian Holovaty wrote: > Hello all, > > I've attached the first draft implementation of the manipulator > replacement framework -- it's just a single Python module. > > * All output is Unicode. I did this because eventually Django's > internal strings will all be Unicode, and we might as well do

Re: Call for comment: Forms/manipulator replacement, take 1

2006-10-27 Thread orestis
Nice! a) I think that one should be able to get both empty and filled-in Form instances by using models. This way, the simple case will be made dead easy, DRY, and the more complex case will be easy enough. b) There is need for a technique for rendering the complete form with a simple for tag. F

Open suggestion to dev team

2006-10-27 Thread iain duncan
Possibly unneeded, but may be useful. It seems to me that Django is hitting the point now where the biggest problem ( or at least soon ) will be figuring out to properly manage development growth. And python has such a massive talented hacker base that there is both the possibility of attracting a