Re: Model inheritance redux

2006-08-07 Thread Alan Green
; > def detail_view(model_name, id): > ... # or map to a different view altogether > > Neither seem like very good solutions to me. Am I missing something? > > > > > -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~---

Re: Model inheritance redux

2006-08-07 Thread Alan Green
#x27;t say so yet, but I think the proposal you outlined is a sensible compromise between functionality and implementation complexity. Cheers, Alan. > > Regards, > Malcolm > > > > > > -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~-

Re: Model inheritance redux

2006-08-07 Thread Alan Green
dmin app will now be able show Addresses on the Person and Organisation pages, so that's about 6 boring pages I won't have to write next time. Cheers, Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message

Re: Proposal: make templatetag loading magic a little more invisible

2006-08-10 Thread Alan Green
On 8/11/06, James Bennett <[EMAIL PROTECTED]> wrote: > The reason for this is that django/templatetags/__init__.py, when it > loops over INSTALLED_APPS to find templatetag libraries, > indiscriminately quashes ImportError -- apparently on the assumption > that any ImportError being raised is a r

A model_object.is_saved() method

2006-08-12 Thread Alan Green
ved()" method. Does either of these options sound reasonable? If so, I'm happy to make up a patch, including changes to db-api.txt. Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because

Re: A model_object.is_saved() method

2006-08-13 Thread Alan Green
On 8/13/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > This is an interesting feature request/idea. If we were to add a > default method along the lines of is_saved(), I think it would make > the most sense if that method actually *checked* the database rather > than just checking that the prima

Re: Default escaping -- again!

2006-08-21 Thread Alan Green
o seeing how it works in my templates, Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this g

Admin "View on site" link broken

2006-08-27 Thread Alan Green
. The change_form.html template contains this code: {% if has_absolute_url %}{% trans "View on site" %}{% endif%} This looks like a bug with some history. What is going on here? Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~-

Re: RDBMS vs ODBMS

2006-08-30 Thread Alan Green
;s clients are even wary of what they would call "new and untested" RDBMSs, such as MySQL and PostgreSQL! Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: Comment on auto-escaping proposals

2006-09-12 Thread Alan Green
om/group/django-developers/browse_thread/thread/9d14bc19120c2d49/5c7bf721a18a0465?#5c7bf721a18a0465 Cheers, Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: RequiredIfOtherFieldsGiven validator

2006-09-14 Thread Alan Green
> know and I'll write up a ticket with patch. > -- > This message has been scanned for memes and > dangerous content by MindScanner, and is > believed to be unclean. > > > > -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~--

newforms feedback

2006-12-19 Thread Alan Green
o.newforms import * >>> class F(Form): url = URLField(label='') ... >>> F().as_p() u'Url: ' 3. maxlength vs max_length is going to annoy me until it is made consistent. I know you're working on it. :) C