[Python-modules-commits] [django-oauth-toolkit] 02/11: Replace CDN URL with a local bootstrap CSS file

Michael Fladischer fladi at moszumanska.debian.org
Thu Nov 2 16:08:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch debian/master
in repository django-oauth-toolkit.

commit d49cdff49508e14cf757b423ddf7607362d7bc29
Author: Michael Fladischer <fladi at debian.org>
Date:   Fri Dec 25 14:05:27 2015 +0100

    Replace CDN URL with a local bootstrap CSS file
    
    Last-Update: 2015-08-27
    Forwarded: not-needed
---
 oauth2_provider/templates/oauth2_provider/base.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/oauth2_provider/templates/oauth2_provider/base.html b/oauth2_provider/templates/oauth2_provider/base.html
index 048c41f..7afd814 100644
--- a/oauth2_provider/templates/oauth2_provider/base.html
+++ b/oauth2_provider/templates/oauth2_provider/base.html
@@ -7,8 +7,9 @@
     <meta name="description" content="">
     <meta name="author" content="">
 
+    {% load staticfiles %}
     {% block css %}
-        <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
+        <link href="{% static 'oauth2_provider/bootstrap.min.css' %}" rel="stylesheet">
     {% endblock css %}
 
     <style>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-oauth-toolkit.git



More information about the Python-modules-commits mailing list