Hi,
Looking for some ideas around a type / conversion matching issue I'm having
with a big django model.
The model has tons of variables, and all being of different types (int,
nullbool, date, datetime, string).
I'm trying to pass data from a different database into the django model,
but the othe
ernal_type())
== "DateTimeField":
try:
row_form_ready["pastel_"+col] = parser.parse(row[col])
except:
row_form_ready["pastel_"+col] = "-00-00 00:00:00"
-- Mike
On 11 May 2012 13:54, Tom Evans wrot
Few things you could do, but I think this is more of a browser / JS related
topic than django.
1.) Post the form to an iframe, and in the iframe return javascript code to
redirect or throw error about form content.
2.) Make the form post ajax based (bit harder, with csrf) and as above have
the pa
Hi,
Trying a form with dynamic fields, but having no luck. Also not finding any
working examples out there :/
This is what I'm currently trying to use:
class MboxReg(forms.Form):
def __init__(self, mailboxes, *args, **kwargs):
super(MboxReg, self).__init__(*args, **kwargs)
#
4 matches
Mail list logo