Permalink
Browse files

fixed static serving bug, release 0.3.1

  • Loading branch information...
Jonas Obrist
Jonas Obrist committed Aug 2, 2011
1 parent 6adb627 commit 3e3b022d49c0ed22f5cb750a8510c7a4a34a353a
Showing with 2 additions and 2 deletions.
  1. +1 −1 templateserver/__init__.py
  2. +1 −1 templateserver/runserver_template.py
@@ -1 +1 @@
-__version__ = '0.4.dev0'
+__version__ = '0.3.1'
@@ -44,7 +44,7 @@ def index(request):
url('^$', index),
url('^show/(?P<template>.+)', 'django.views.generic.simple.direct_to_template', name='show'),
url('^media/(?P<path>.+)', 'django.views.static.serve', {'document_root': MEDIA_DIR}),
- url('^static/(?P<path>.+)', 'django.views.static.serve', {'document_root': MEDIA_DIR}),
+ url('^static/(?P<path>.+)', 'django.views.static.serve', {'document_root': STATIC_DIR}),
)
#==============================================================================

0 comments on commit 3e3b022

Please sign in to comment.