Hi i am am trying to upload a file through a function but not the form and am facing difficulties
how do i upload a file from server path without using the template form or forms.form ```class Image(models.Model): name = models.CharField(max_length=40, blank=True, unique=True) image_file = models.FileField(upload_to="images/") created = models.DateField(auto_now_add=True) updated = models.DateField(auto_now=True) def __str__(self): return self.name``` -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d6eb6033-a0a6-47ef-907d-6451f97e79f6n%40googlegroups.com.