Re: Django Simple Captcha - Manually displaying the Captcha field in a template

2013-10-03 Thread mmuk2
}}{{ signup_form.captcha.errors }} thanks, Mark On Tuesday, March 5, 2013 1:10:42 PM UTC+11, mmuk2 wrote: > > Hi, > > I'm currently trying to implement django simple captcha on my form. It's > quite straight forward to set up with the "out of the box" django form > functiona

Django Simple Captcha - Manually displaying the Captcha field in a template

2013-03-04 Thread mmuk2
Hi, I'm currently trying to implement django simple captcha on my form. It's quite straight forward to set up with the "out of the box" django form functionality - just add a captcha field to the form in forms.py, and in the template, use the built in django form template like this: {% form.as

Re: How to associate a formset with a field in a form

2013-02-12 Thread mmuk2
itional forms on the page - there's a jquery plugin > for that: > http://blog.stanisla.us/2009/10/10/jquery-plugin-django-dynamic-formset/ > > You should also probably read the documentation at > > https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-fo

How to associate a formset with a field in a form

2013-02-12 Thread mmuk2
I'm trying to create a simple "recipe" form with a title and a list of ingredients, which allows a user to add additional ingredients to the recipe. I'm struggling, however, to implement this in Django. Particularly how to associate a formset with a field in a form. I'm sure it's a simple solut

request object in custom TEMPLATE_LOADER

2012-10-16 Thread mmuk2
Hi, I'm sure this question has been asked before, but I thought I'd throw it out there as it's something I've come across in a project I'm working on at present. What is the best way to include a request object in a custom template_loader? The reason I need the request object available in my