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:
10
settings.py
10
settings.py
@@ -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',
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user