13, 9:41 pm, LuisC wrote:
>
> > Daniel,
> > .get() was one of the several options I tried before with no
> > results... When I use .get() the form only displays the submit
> > button... I am asuming that that is because the template is specting
> > a dictio
uot; value, not the whole record..
How would I obtaing the whole record,ie. all the fields???
I am not using ModelForms because this is may first app and first I am
doing it the hard way Excuse me, please
Thank You
On Oct 13, 4:33 am, Daniel Roseman wrote:
> On Oct 13, 3:09 am,
Hi!!!
I am having some trouble trying to output a database record to a
form
**My form:
class ClientesFIForm(forms.Form):
ClienteCodigo = forms.IntegerField(label='Codigo Cliente')
ClienteNombre = forms.CharField(label='Nombre Cliente')
ClienteFechaCreacion = forms.DateField(widge
Ja!! That is it...
Changed the view function name and it works...
Very nice... thank you to everybody.
Regards
On Oct 10, 2:27 am, Karen Tracey wrote:
> On Sat, Oct 10, 2009 at 2:04 AM, LuisC wrote:
>
> > Hi!!!
> > I am having troubles saving my first model using a fo
t 10, 2:08 am, Kenneth Gonsalves wrote:
> On Saturday 10 Oct 2009 11:34:11 am LuisC wrote:
>
> > So, what is the argument Clientes() is specting??? Why in shell the
> > field list with values are the correct arguments??
>
> you are using keyword arguments in the she
Hi!!!
I am having troubles saving my first model using a form:
My Model:
Class Clientes(models.Model):
'Clase para Clientes'
ClienteCodigo = models.IntegerField('Codigo Cliente')
ClienteNombre = models.CharField('Nombre Cliente',max_length=40)
ClienteFechaCreacion = models.DateFie
Hi!!!
I am doing my fist appl and after some struggling I am using
forms.DateField(widget=AdminDateWidget)
in my view, and
{{ form.media }}
in my template...
The calendar widget is working ok; but I do not know what jsi18n does
and I am unable to find it any where in the system. Also, I
Hi!!!
I am trying to generate the local html doc on a WinXP laptop... I
installed setuptools, then easy-install SPHINX and failed whith "make
html". Then, installed UnxUtils and somewhat able to "make html".
Finally, in a command window did the makefile manually for the html
tag...
I am getting
8 matches
Mail list logo