Permalink
Browse files

fixed a few dumb issues

  • Loading branch information...
1 parent fabd508 commit 689b0798c92f3251c32d6a1c03627b6b0637797b @f4nt committed Oct 19, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −1 src/django_yaba/__init__.py
  2. +0 −1 src/django_yaba/templates/blog_base.html
@@ -2,7 +2,9 @@
from django.conf import settings
PROJECT_DIR = os.path.dirname(__file__)
-settings.MEDIA_ROOT = os.path.join(PROJECT_DIR, "media")
+if settings.MEDIA_ROOT is None:
+ settings.MEDIA_ROOT = os.path.join(PROJECT_DIR, "media")
+
settings.TEMPLATE_DIRS += (
os.path.join(PROJECT_DIR, "templates"),
)
@@ -13,7 +13,6 @@
<script type="text/javascript" src="{{ MEDIA_URL }}js/slide.js"></script>
{% load disqus_tags %}
-{% disqus_dev %}
</head>
<body>
<div class="page_margins">

0 comments on commit 689b079

Please sign in to comment.