Django content iteration from file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Django content iteration from file

What i want to do is have different stories stored in my directory/server. Have python/django read the files and store the text in the appropriate variables. Iterate over these files in the django template. I tried using setInterval and Timeout but it jumps straight to the last iteration without iterating through the content and pausing after each iteration. my full question is here: https://stackoverflow.com/questions/51094014/django-content-iteration-from-file

11th Jul 2018, 2:45 AM
Michael Bosher
Michael Bosher - avatar
4 Answers
0
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> </body> </html>
15th Jul 2018, 12:12 AM
ก็ไม่รู้ สินะ
ก็ไม่รู้ สินะ - avatar
0
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> </body> </html>
15th Jul 2018, 12:12 AM
ก็ไม่รู้ สินะ
ก็ไม่รู้ สินะ - avatar
0
no, this is not django. it is plain html
16th Jul 2018, 6:53 AM
Michael Bosher
Michael Bosher - avatar
- 1
tom
15th Jul 2018, 12:13 AM
ก็ไม่รู้ สินะ
ก็ไม่รู้ สินะ - avatar