1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 19:05:16 +00:00

Fix bugs in seahub for use online

This commit is contained in:
plt 2011-03-19 22:40:55 +08:00
parent 8efb42e166
commit 84764c3281
2 changed files with 13 additions and 3 deletions

View File

@ -79,6 +79,16 @@ TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), "templates"),
)
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'djblets.util.context_processors.siteRoot',
'django.core.context_processors.request',
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',

View File

@ -19,13 +19,13 @@
<div class="navs">
<ul class="nav">
<li>
<a href="/home/">Home</a>
<a href="{{ SITE_ROOT }}home/">Home</a>
</li>
<li>
<a href="/peers/">Peers</a>
<a href="{{ SITE_ROOT }}peers/">Peers</a>
</li>
<li>
<a href="/groups/">Groups</a>
<a href="{{ SITE_ROOT }}groups/">Groups</a>
</li>
</ul>
</div>