; 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"
me 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 django, i try to read a text file i
ork with you .
> On May 26, 2020 23:34, "Lansana Sangare" wrote:
>
>> 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
; 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:
>
> clas
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
5 matches
Mail list logo