Re: Read Text file in django

2020-05-27 Thread Mujahid Abbas
Well On Thu 28 May, 2020, 2:37 AM Ammar M. Adam, wrote: > Welcome 😊 anytime 😁 > On May 27, 2020 23:30, "Lansana Sangare" wrote: > >> Thanks guy, it works now >> >> Ammar M. Adam schrieb am Di., 26. Mai 2020, >> 23:43: >> >>> The FileField Must have a function for that >>> Use help(django.model

Re: Read Text file in django

2020-05-27 Thread Ammar M. Adam
Welcome 😊 anytime 😁 On May 27, 2020 23:30, "Lansana Sangare" wrote: > Thanks guy, it works now > > Ammar M. Adam schrieb am Di., 26. Mai 2020, 23:43: > >> The FileField Must have a function for that >> Use help(django.models.FileField) >> It must have some sort of FileField.read() or something l

Re: Read Text file in django

2020-05-27 Thread Lansana Sangare
Thanks guy, it works now Ammar M. Adam schrieb am Di., 26. Mai 2020, 23:43: > The FileField Must have a function for that > Use help(django.models.FileField) > It must have some sort of FileField.read() or something like that. > Am also a beginner but I think this should work with you 😉. > On Ma

Re: Read Text file in django

2020-05-26 Thread Ammar M. Adam
The FileField Must have a function for that Use help(django.models.FileField) It must have some sort of FileField.read() or something like that. Am also a beginner but I think this should work with you 😉. On May 26, 2020 23:34, "Lansana Sangare" wrote: > Good evening people, > i'm a beginner at d

Read Text file in django

2020-05-26 Thread Lansana Sangare
Good evening people, i'm a beginner at django, i try to read a text file in django template but i only get the data.txt in template. how can i open and read the content of the text file in templates. Below you can see the html section and the output. Thanks in advance Django model: class Patie