yeah it's file [image: image_2022-08-28_195920212.png]
Le dimanche 28 août 2022 à 19:55:52 UTC+2, dashlaksh...@gmail.com a écrit :
> If you don't get it you can share the code with met at
> dashlaksh...@gmail.com .
>
> Thanks and regards
> Lakshyaraj Dash
>
> On Sun, Aug
can anyone helps me please it does not work
--
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
how can i get the file names from data base to list them into droplist
in models.py :
class FilesUpload(models.Model):
file = models.FileField(null=True, blank=True,upload_to="media/")
def filename(self):
name = os.path.basename(self.file.name)
return name
in views.py :
3 matches
Mail list logo