--
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...@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/a1b01bab-5236-4bb7-95cf-77c4ee7cc29e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,You will have to follow the following information:Make sure that the css files and js files are in the static directory. Then you can use {% static "css/bootstrap.min.css" %} for the filepath to the static files. The static files shouldn't have absolute file paths because you are accessing them from the webserver and the paths are relative to the current base url (or html file). There is no difference between bootstrap and other css / js files in this regard.Regards,
Andréas
2017-02-01 11:40 GMT+01:00 Thames Khi <tham...@gmail.com>:
Hi,I tried to use locally installed bootstrap. My render HTML function is calling my page. However using the relative path or even if add the complete path, nothing works.If the html page is opened directly it works.Is there any decent documentation and examples of using locally installed bootstrap with django?Thank you very much.
--
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...@googlegroups.com.
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...@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/27b4ff88-fd37-4996-945e-440c48b6c241%40googlegroups.com.
Regards,
Andréas
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...@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/fcc3cc25-d16b-4373-82fd-a3e8055c0885%40googlegroups.com.
On Wednesday 01 February 2017 02:40:48 Thames Khi wrote:
> I tried to use locally installed bootstrap. My render HTML function is
> calling my page. However using the relative path or even if add the
> complete path, nothing works.
Save some time down the road:
> Is there any decent documentation and examples of using locally
> installed bootstrap with django?
Answered by Andreas.
--
Melvyn Sopacua