after save() hook not called in admin?

2006-07-24 Thread wnielson
Sorry if this has been mentioned but I couldn't find any reference to it. Anyway, there seems to be an issue with custom save() hooks and the admin interface. When called from the shell .save() works as expected, executing code both before and after the call to super(). However, in the admin,

Re: Akismet spam filtering for Trac

2006-07-24 Thread Tom Tobin
On 7/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Don't mean to pester but is there a way for me to post the list on the > wiki? Like I said, I think I'm blocked now. :( Ouch, I'm sorry. :-( I'm sure Jacob meant to get back to you, but I know he's been insanely busy with

Re: Akismet spam filtering for Trac

2006-07-24 Thread [EMAIL PROTECTED]
Don't mean to pester but is there a way for me to post the list on the wiki? Like I said, I think I'm blocked now. :( Cheers, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To

Re: humanized dates

2006-07-24 Thread jws
> functionality in django.utils.dateformat introduces some other Well, consider that under-documented. It's not clear how to do that as a filter in the Template Guide. I'll agree that it's outside the scope of 'humanize'. --~--~-~--~~~---~--~~ You received this

Re: Strange happenings with fkey-linked models and AddManipulator

2006-07-24 Thread James Bennett
On 7/24/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > Probably, this is more a question for the user list. Actually, after around sixteen hours of off and on fiddling with things via IRC, I suggested she ticket it and post here to see if any of the rapid-fire Django bug squashing team at

Re: [Django] #2406: [patch] new command for management -- runjobs

2006-07-24 Thread Michael Radziej
Adrian Holovaty wrote: > If your goal is to cut crontab entries from five to one, just create a > single script that does the five things you need it to do; then point > crontab at it. :) But it would be fine for pluggable applications to make this automatically! (I'm +1) Michael

Re: Model inheritance API

2006-07-24 Thread David Blewett
Jacob Kaplan-Moss wrote: > On Jul 22, 2006, at 9:37 PM, Malcolm Tredinnick wrote: > > Rather than watch the "inherit from User" thread go round and round, > > maybe I should give people something more concrete to think about. First of all, +1 on this proposal. I've been approaching this problem

Re: Strange happenings with fkey-linked models and AddManipulator

2006-07-24 Thread Michael Radziej
Hi Aurynn, Aurynn wrote: > Hi there, I'm getting some very odd behaviour when trying to use > unique_together, foreign keys, and AddManipulator() all together on > some of my models. > > http://rafb.net/paste/results/kIEaT886.html - Company model > http://rafb.net/paste/results/V3XUxE96.html -

Strange happenings with fkey-linked models and AddManipulator

2006-07-24 Thread Aurynn
Hi there, I'm getting some very odd behaviour when trying to use unique_together, foreign keys, and AddManipulator() all together on some of my models. http://rafb.net/paste/results/kIEaT886.html - Company model http://rafb.net/paste/results/V3XUxE96.html - Notes model These are the models I'm

Re: Creating a new field type

2006-07-24 Thread adurdin
One other side effect of the problem noted in my message above is this: If I enter "1e5" in the text field, it fails validation (as I'm limiting it to -?\d+(\.\d+)? ), but the new_data entry still gets converted to a Decimal instance, so the form displays an error message but the data in the box

Re: Creating a new field type

2006-07-24 Thread adurdin
Jacob Kaplan-Moss wrote: > > A good example might be to look at the ``DateField`` definition > (http://code.djangoproject.com/browser/django/trunk/django/db/models/ > fields/__init__.py#L393). > > As far as I remember, the methods you'll want to play with are > ``Field.to_python()``,

Re: MS SQL Server access from Linux/ODBC?

2006-07-24 Thread Joe
Have you considered migrating the data from MSSQL to Postgres? We ran into the same problem you are having, and purchased the "DTM Migration Kit". http://www.sqledit.com/mk/index.html This tool lets you do arbitrary sql on migration, so if the MSSQL database is being used by another app, you

Re: Model inheritance API

2006-07-24 Thread Gábor Farkas
Bill de hÓra wrote: > Malcolm Tredinnick wrote: > >> table design with >> lots of sparse columns won't get me invited to the cool parties. > > Qotd! > (added to my quotes-collection :-) gabor --~--~-~--~~~---~--~~ You received this message because you are

Re: Model inheritance API

2006-07-24 Thread Bill de hÓra
Malcolm Tredinnick wrote: > table design with > lots of sparse columns won't get me invited to the cool parties. Qotd! [I should say what you're doing sounds great; just trying to figure out where the constraints and gotchas are at.] cheers Bill

Re: Model inheritance API

2006-07-24 Thread DavidA
Malcolm Tredinnick wrote: > On Sun, 2006-07-23 at 17:12 +0100, Bill de hÓra wrote: > > Malcolm Tredinnick wrote: > > > --- > > > 3. What you don't get > > > --- > > > [...] > > > I am not implementing the "everything in one table" storage model. It is > >

Absence of CheckboxField validation

2006-07-24 Thread Alex Dedul
Hi there, Is there a reason why CheckboxField(and model's BooleanField) doesn't have validator_list ? We discussed briefly this issue on irc and seems like its just because of lack of use cases for validation ? In my case i need to check other field's value and only if it has specific

Re: Model inheritance API

2006-07-24 Thread Nebojsa Djordjevic
Malcolm Tredinnick wrote: > Rather than watch the "inherit from User" thread go round and round, > maybe I should give people something more concrete to think about. > > This is a follow-up to the mail I sent late on Friday. It describes the > area where we need API additions or some kind of

RFC: Localization (L10N)

2006-07-24 Thread Nebojsa Djordjevic
sorry for cross post. I just want to bring some attention to this thread http://groups.google.com/group/Django-I18N/browse_thread/thread/f33c087fc57fb2bc/44aecc7ee75f676f#44aecc7ee75f676f We currently have great i18n implementation, but not l10n - yes, we have date-aware template filters/tags