[PATCH 04/46] urls: Expose the fonts directory for bootstrap's glyphicons
Damien Lespiau
damien.lespiau at intel.com
Sun Nov 9 06:08:22 AEDT 2014
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
apps/urls.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/apps/urls.py b/apps/urls.py
index a8bd68c..876b0e7 100644
--- a/apps/urls.py
+++ b/apps/urls.py
@@ -40,5 +40,7 @@ urlpatterns = patterns('',
{'document_root': os.path.join(htdocs, 'js')}),
(r'^images/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': os.path.join(htdocs, 'images')}),
+ (r'^fonts/(?P<path>.*)$', 'django.views.static.serve',
+ {'document_root': os.path.join(htdocs, 'fonts')}),
)
--
1.8.3.1
More information about the Patchwork
mailing list