1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 06:34:40 +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"), 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 = ( INSTALLED_APPS = (
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',

View File

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