Re: How to pass List to Form Meta Class

2010-06-05 Thread Karen Tracey
Please do not crosspost questions to both django-developers and django-users: pick the right list and send the question there. Questions about using Django, such as this one, belong on django-users. Karen -- You received this message because you are subscribed to the Google Groups "Django

How to pass List to Form Meta Class

2010-06-05 Thread ars_sim
Hello All, I am newbie in django and I will very thankful to you if you help me in this regard. I want to pass list of fields from view to Meta class of FormModel. Please check this example. view.py: fields = [name, email, phone] individual_form = IndividualForm(fields) forms.py class

Re: Proposal: modular django configuration

2010-06-05 Thread Vinay Sajip
On Jun 5, 11:22 am, "burc...@gmail.com" wrote: > > It is hardly a stretch to see how this kind of code could be extended > > to try to import settings_auto or settings_default from each app in > > installed apps. > > Sorry, I'm not native speaker. Can't understand what's

Re: Proposal: modular django configuration

2010-06-05 Thread burc...@gmail.com
On Sat, Jun 5, 2010 at 5:07 PM, Tom Evans wrote: Hi Tom, > I'm not going to reply again, Russell has quite clearly ruled this out > but to reply to these points: > > As the project manager, you can already use automatic configuration - > its python, you can do whatever

Re: Proposal: modular django configuration

2010-06-05 Thread Tom Evans
On Sat, Jun 5, 2010 at 9:58 AM, burc...@gmail.com wrote: > On Sat, Jun 5, 2010 at 2:08 PM, Russell Keith-Magee > wrote: >> On Sat, Jun 5, 2010 at 2:53 PM, burc...@gmail.com wrote: >>> On Sat, Jun 5, 2010 at 9:43 AM, Russell

Re: Proposal: modular django configuration

2010-06-05 Thread burc...@gmail.com
On Sat, Jun 5, 2010 at 3:53 PM, Vinay Sajip wrote: > > On Jun 5, 8:08 am, Russell Keith-Magee > wrote: >> in which a user will be using your app. Every single time in my life I >> have made the statement "Nobody will ever want/need to..." I have

Re: Proposal: modular django configuration

2010-06-05 Thread burc...@gmail.com
On Sat, Jun 5, 2010 at 2:08 PM, Russell Keith-Magee wrote: > On Sat, Jun 5, 2010 at 2:53 PM, burc...@gmail.com wrote: >> On Sat, Jun 5, 2010 at 9:43 AM, Russell Keith-Magee >> wrote: >>> On Fri, Jun 4, 2010 at 11:54 PM,

Re: Proposal: modular django configuration

2010-06-05 Thread Vinay Sajip
On Jun 5, 8:08 am, Russell Keith-Magee wrote: > in which a user will be using your app. Every single time in my life I > have made the statement "Nobody will ever want/need to..." I have been > proven wrong. Consider it a corollary of Rule 34 :-) > That's why the YAGNI

Re: Proposal: modular django configuration

2010-06-05 Thread Russell Keith-Magee
On Sat, Jun 5, 2010 at 2:53 PM, burc...@gmail.com wrote: > On Sat, Jun 5, 2010 at 9:43 AM, Russell Keith-Magee > wrote: >> On Fri, Jun 4, 2010 at 11:54 PM, burc...@gmail.com wrote: >>> Hi Russell, >>> >>> I strongly disagree with

Re: Proposal: modular django configuration

2010-06-05 Thread burc...@gmail.com
On Sat, Jun 5, 2010 at 9:43 AM, Russell Keith-Magee wrote: > On Fri, Jun 4, 2010 at 11:54 PM, burc...@gmail.com wrote: >> Hi Russell, >> >> I strongly disagree with your and Adrian vision of whether conventions >> are good or not. >> But I won't