LiveServerTestCase + SSL

2015-05-20 Thread Peter Brooks
Hi all, Part of my code base includes a view which must be served via SSL. When writing my integration tests, I find that LiveServerTestCase is strictly http and doesn't support https. Could this be a planned feature to add or should I turn my attention to running a HTTPS testing server elsewher

Re: JQuery Ajax Widget for multiple and simple select

2008-06-05 Thread brooks
You might check this out. I think it would get you part-way there. http://marinho.webdoisonline.com/blog/p/153/ -- Brooks On Jun 4, 2:40 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > I am trying to implement an ajax-widget with JQuery to handle simple > and multipl

Re: How to organize views that combine multiple models

2008-04-17 Thread brooks
I'd put it in a separate, "global" views.py, outside both, like this: project/ profile/ employment/ urls.py views.py -- Brooks On Apr 16, 5:26 pm, meppum <[EMAIL PROTECTED]> wrote: > I have a Profile app and an Employment app under one project. I&#

Re: Customizing the class returned by newforms.form_for_model()

2007-03-02 Thread brooks
One option would be to simply re-assign the value for that field in the form instance/class base_fields, ala: Model_Form = forms.models.form_for_model(Model) Model_Form.base_fields['multi_field'] = forms.CharField(maxlength=150, initial=Model_Form.base_fields['multi_field'].initial) Hope that he

Re: Multiple Forms and/or Models from one template (newforms)

2007-02-19 Thread brooks
Have you had any luck so far, Jim? I'm in a similar boat, and haven't been able to get it to work. My problem seems to be adding the 'id' to the clean_data and getting it to validate. Anything you've managed to figure out would be very helpful. At this point, I'm stuck. On Jan 24, 11:33 am, "