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:
parent
8efb42e166
commit
84764c3281
10
settings.py
10
settings.py
@ -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',
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user