Friday, April 27, 2018

Re: django does not open html file properly

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 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/7b33a09a-5ca9-4082-8773-4eac89b1c5a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment