Re: Crazy idea!

2006-12-29 Thread goodieboy
28, 4:10 am, "tekNico" <[EMAIL PROTECTED]> wrote: goodieboy wrote: >> Hi, I've been using Django for the past 2 weeks and I'm in love. Now, >> I'm forced to build an app with PHP 4! The host does have Python. I'm >> wondering... is it nuts to u

Relation and view problem

2006-12-28 Thread goodieboy
Hi, I'll try to make this as simple as possible! I have a MasterItem object. MasterItem has a ManyToMany relation to OpionGroup called available_option_groups. OptionGroup has a ManyToMany relation to OptionItem names option_items. Now, I have a SubItem, which as a ForeignKey relation to Master

Crazy idea!

2006-12-27 Thread goodieboy
Hi, I've been using Django for the past 2 weeks and I'm in love. Now, I'm forced to build an app with PHP 4! The host does have Python. I'm wondering... is it nuts to use PHP to talk to python, to take advantage of something like SQLAlchemy? :) - matt --~--~-~--~~~-

Re: mod_python : admin can run django apps, but not mine?

2006-11-28 Thread goodieboy
sorry for the self replies! But just wanted to say that I *have* done syncdb a few times. And even cleared my database before doing so. syncdb output looks great. Still nothing through apache/mod_python. I have about four applications that should be there. On Nov 28, 4:31 pm, "goodieboy&quo

Re: mod_python : admin can run django apps, but not mine?

2006-11-28 Thread goodieboy
pm, "goodieboy" <[EMAIL PROTECTED]> wrote: > Hi, > > runserver is working fine for my applications. But when I switch over > to mod_python and apache2, I only see the Users, Groups and Sites > applications. My applications are not there? The settings are being >

mod_python : admin can run django apps, but not mine?

2006-11-28 Thread goodieboy
Hi, runserver is working fine for my applications. But when I switch over to mod_python and apache2, I only see the Users, Groups and Sites applications. My applications are not there? The settings are being read, the database connection is working; I can add/edit/delete users/groups and sites. I

Can't delete model from admin

2006-11-27 Thread goodieboy
Hi, I'm trying to delete a model but keep getting this error: "getattr(): attribute name must be string" The model is the "Item" class from the Satchmo project. I have a feeling it's related to the ManyToManyField because I've read about it elsewhere, and maybe even in an older thread here. Her