Like I said: setup an nginx docker and save the reports in its base folder. Then link there from your Django app. Save yourself trouble of zipping, downloading unzipping and manually opening the reports!
qop <simone.bittu@gmail.com> schrieb am Mo. 30. Apr. 2018 um 16:07:
You are right, it's too complicated.--
I could zip gephi's graphics and make them downloadable on my site, how could i do that?
How can i create a "download button" that allows the user to download my zip files?
Il giorno venerdì 27 aprile 2018 23:24:43 UTC+2, Andy ha scritto:It looks as if you see all contents of you index.html while also missing all dependencies .. check the network tab of your browser to confirm this.
The report created by gephi is probably an html page that is soppused to be opened via the browser directly or served with a webserver. Just rendering the page through Django wont fix included styles sheets of needed javascript tags.
You should setup a docker nginx, mount your report into its html root folder and link there from your django app.
What you are trying to do sounds to complicated. Dont try to push the reports through Django. You might rather build a catalogue listing all the reports, but for actually showing them, use an nginx docker.
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/aWDr0VYIj-4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/265f121b-d7e2-4517-a6d9-199ca7ed6d4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mit besten Grüßen
Andy
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B8CBRiw43ZVuVL1orA74wop6_9d9_TF0ABRdR4aEiP2y4NZhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment