Re: Variables in templates

2008-12-29 Thread ro60
Jeff is correct in saying that templates are just for handling layout. Django is quite strict about enforcing this separation. Having worked with a slew of other languages myself I can understand that this can be a tad inconvenient at times (even if it is best practice). A possible solution is to

Re: Address Book Contact Importer in Python/Django?

2008-11-28 Thread ro60
At least for gmail the security issue is a little less of a slippery slope. One of the authentication methods is called AuthSub and it allows you to redirect to a google page for the user to login then redirects back the authenticated user to your app. In this way your app never actually handles t

Re: Feature like "acts_as" in Django ORM or contrib ?

2008-10-21 Thread ro60
Also you may want to look at this one... Seems pretty good as well (haven't used it personally though). http://www.djangosnippets.org/snippets/884/ On Oct 21, 1:20 pm, ro60 <[EMAIL PROTECTED]> wrote: > I've been working on an acts_as_list implementation for Django > rece

Re: Feature like "acts_as" in Django ORM or contrib ?

2008-10-21 Thread ro60
I've been working on an acts_as_list implementation for Django recently. I know gasp... I will prob be strung up by my toes for it. I work with Rails and Django both and like the way that the acts as list stuff works in Rails. The code is untested and there are some gaps that still need to be fil