models.py :
`class Document(models.Model):
docfile = models.FileField(upload_to='documents/%Y/%m/%d')
user = models.ForeignKey(User, null=False, blank= False)
`
I have created a model for file upload as shown above. docfile is the field
that represents file to be uploaded and user fi
creating a sharing manytomany field is right but how to call it in views
and verify that user filled in the form exists?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an e
I want to get the email address of the user which i filter in views
function. How to get it?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubs
3 matches
Mail list logo