Random FAQ Suggestion

2008-02-24 Thread machineghost
I just looked at the FAQ page for the first time in awhile today, and I found a question that had kind of a surprising answer: http://www.djangoproject.com/documentation/faq/#where-can-i-find-django-developers-for-hire Where can I find Django developers for hire? Consult our developers for hire

Re: Need Help Iterating Through a Form With HTML Interspersed

2007-12-01 Thread machineghost
> (You did remember to pass in 'firstSetOfFields' as a variable in your > template context, right?). *sigh* Sadly, I didn't; as soon as I did everything worked fine; thanks. Jeremy On Dec 1, 4:26 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 12/1/07, machineghost

Re: Need Help Iterating Through a Form With HTML Interspersed

2007-12-01 Thread machineghost
P.S. I also tried using {% ifequals field.__repr__ form.field1.__repr__ %} to compare the objects, but Django (intelligently) prevents you from accessing __ methods in templates. On Dec 1, 3:17 pm, machineghost <[EMAIL PROTECTED]> wrote: > First off thanks in advance for any hel

Need Help Iterating Through a Form With HTML Interspersed

2007-12-01 Thread machineghost
First off thanks in advance for any help you can provide. My problem is that I have a very long form with a very repetitive layout: {{ field.label }} {{ field }} which should in theory be perfect for wrapping inside a {% for field in form %} {% endfor %} loop; right? Except there's one

Re: Need help selecting a Django hosting provider

2007-10-17 Thread machineghost
I'm not sure if it's still on the list or not, but Dreamhost is TERRIBLE for Django. I'd recommend webfaction.com; they set everything up for you initially, and just generally handle lots of the sys admin stuff so that you can focus on programming. Jeremy On Oct 17, 3:09 pm, Greg <[EMAIL

Re: Newforms Field Limit Question

2007-10-11 Thread machineghost
You are absolutely right Joseph, it was a bug in my code :-( I had: forms.ChoiceField(choices=["Yes", "No"]) instead of: forms.ChoiceField(choices=[("Yes", 1), ("No", 0)]) Thanks for the help. Jeremy --~--~-~--~~~---~--~~ You received this message because you

Newforms Field Limit Question

2007-10-10 Thread machineghost
I recently attempted to implement a very large form using the newforms library, and I discovered that if a form contains more than 45 fields it generates a "too many values to unpack" error when you try to render it in a template. Does anyone know if this is deliberate (either because of some

Re: Should I give up on dreamhost?

2007-07-23 Thread machineghost
>> Personally, I'm of the opinion that Dreamhost should be taken off the >> list of Django-friendly hosts. Let me second that. I struggled with Dreamhost for awhile before finally giving up and buying a WebFaction account, and boy was I glad once I did. Dreamhost does NOT deserve to be called

Re: is there a way to combine generic views?

2006-12-09 Thread machineghost
>> I want a page which displays both the details of an object and the list of >> the objects. Really important question: is the object you want the details of related to the list of objects, via a ForeignKey or ManyToManyField? Because if so, you don't need to do any view combination at all. (Of