Hi there,
I created a model with a date field in order to have a timestamp of
when has been the last modification of the object.
As in the basic tutorial I wrote my model as:
data = models.DateTimeField ()
Wich should be in SQL:
"data" timestamp with time zone NOT NULL
(ref: http://docs.djan
Oh yeah!! It was that! Thank you veru much Alex :)
I forgot to put the template code, Here it is (mayb useful for some
other):
--upload.html--
{% for field in form %}
{{ field.label_tag }}
{{ field }}
Hi!
I'm trying to upload a file like the example in documentation in
Django (http://docs.djangoproject.com/en/dev/topics/http/file-
uploads/)
with the "Forms from Models".
But I can't upload the file because the form always return the error
"this field is required" although selecting a file before
3 matches
Mail list logo