Re: Django in a Load-Balanced environment (ORM issues) ...

2006-03-02 Thread Jonathan Ellis
ntage of is the admin framework. That's a pretty big "only," isn't it? :)(Mike's doing a fantastic job with SQLAlchemy.  I'd love to see a way to really integrate that into Django.)-- Jonathan Ellis http://spyced.blogspot.com --~--~-~--~~~-

Re: recursive template calls

2006-02-13 Thread Jonathan Ellis
On 2/13/06, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: I think it's unfortunately that template writers have to resort toPython just to package up a bit of HTML into a function, but that'sjust my opinion. OTOH Python is a lot cleaner than attempts at "designer-friendly" mini-languages.  (CFScri

Re: Deleting ForeignKey Delets my Object!

2006-02-08 Thread Jonathan Ellis
On 2/8/06, Siah <[EMAIL PROTECTED]> wrote: I have a model similar to:class Phone(meta.Model):number = meta.CharField(maxlength=50, null=True)class Contact(meta.Model):phone = meta.ForeignKey(Phone, null=True)name = meta.CharField (maxlength=200)After I have data in, I want to be able to

Re: Memory leaks in DB API

2006-02-07 Thread Jonathan Ellis
On 2/7/06, Jason Huggins <[EMAIL PROTECTED]> wrote: Yes, Python has built-in garbage collection, but is way to easy tocreate circular references between objects (parent references child,child references parent)... Once that circular reference is createdbetween two objects, the objects will never be