Re: AJAX component usage from different domain

2009-05-21 Thread Russell Keith-Magee
On Fri, May 22, 2009 at 12:51 PM, Abhishoka wrote: > > Hi: > > We are a non-profit charity organization having 25+ websites and want > to maintain a centralized database for the various events happening at > different places. The database (MySql) has been implemented and we use > the django frame

AJAX component usage from different domain

2009-05-21 Thread Abhishoka
Hi: We are a non-profit charity organization having 25+ websites and want to maintain a centralized database for the various events happening at different places. The database (MySql) has been implemented and we use the django framework admin module to communicate with the database. Our different

GSoC Weekly Update for May 22 (HTTP & WSGI improvements)

2009-05-21 Thread ccahoon
I have submitted a patch for ticket 10834, http://code.djangoproject.com/ticket/10834 Nicolas and Malcolm both checked it out and approved it. That should fulfill the requirement for the interim ticket. For the project timeline/marching orders, here is what I know so far. 05/23 - 05/27 - I take

Re: DjangoAdmin - Permission in custom modules

2009-05-21 Thread JĂșlio Cesar
Yes, he really works with me. Well, I supose I have some advance last day. The majority of the admin application we created that do not appear on the index view for non- superusers was the ones that we changed the app_name. We maked this to put verbose names in the title on 'fieldsets' of any ap

Re: BaseForm deepcopy() leaving datastructures linked to old objects?

2009-05-21 Thread Margie
Ok, that makes sense that copy.deepcopy calls each object's __deepcopy__ method. But we have a loop: ModelChoiceField->widget->ModelChoiceIterator->ModelChoiceField Do we want the copying of the widget to make a copy of the ModelChoiceIterator? Regardless of whether we make a copy of the Mode

Re: BaseForm deepcopy() leaving datastructures linked to old objects?

2009-05-21 Thread Alex Gaynor
On Thu, May 21, 2009 at 9:09 AM, Margie wrote: > > I don't think we are calling Widget.__deepcopy__() at this point. I > think we are just calling the plain old python copy.deepcopy(). > That's what I see in pdb. I don't think we really want to be > recursively copying all of the data structure

Re: BaseForm deepcopy() leaving datastructures linked to old objects?

2009-05-21 Thread Margie
I don't think we are calling Widget.__deepcopy__() at this point. I think we are just calling the plain old python copy.deepcopy(). That's what I see in pdb. I don't think we really want to be recursively copying all of the data structures. We start out with a ModelChoiceField pointing to a wid

Re: BaseForm deepcopy() leaving datastructures linked to old objects?

2009-05-21 Thread Alex Gaynor
On Thu, May 21, 2009 at 12:35 AM, Margie wrote: > > In the process of doing some debugging into the django source, I've > come across something in the source that maybe someone can explain. > I think this may be a subtle source bug, or at least something that > may cause problems with advanced u

BaseForm deepcopy() leaving datastructures linked to old objects?

2009-05-21 Thread Margie
In the process of doing some debugging into the django source, I've come across something in the source that maybe someone can explain. I think this may be a subtle source bug, or at least something that may cause problems with advanced usage (as described below) - not positive though. In class