diff options
-rw-r--r-- | bn_django/settings.py.example | 2 | ||||
-rw-r--r-- | bn_django/templates/base.html | 2 | ||||
-rw-r--r-- | bn_django/urls.py | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/bn_django/settings.py.example b/bn_django/settings.py.example index 16a90b2..d9e3198 100644 --- a/bn_django/settings.py.example +++ b/bn_django/settings.py.example @@ -46,7 +46,7 @@ MEDIA_URL = '/static/' ADMIN_MEDIA_PREFIX = '/static/django-admin/' # Make this unique, and don't share it with anybody. -SECRET_KEY = 'jdsgk298451dsfg0090204tv(GFD8g0(%$)*@$#R%U)#*ifd;/q' +SECRET_KEY = 'jdsgk29845ldsfg0090204tv(GFD8g0(%$)*@$#R%U)#*ifd;/q' # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( diff --git a/bn_django/templates/base.html b/bn_django/templates/base.html index 100ef4a..7349669 100644 --- a/bn_django/templates/base.html +++ b/bn_django/templates/base.html @@ -21,7 +21,7 @@ </div> <div class="content" id="main_title"> <div class="right_stuff"> -<form name="search" action="/search"> +<form name="search"> <br/> <input class="search_box" type="text" size="21" value=" search!" name="search_text" id="search_text" diff --git a/bn_django/urls.py b/bn_django/urls.py index 08986f1..eaf991e 100644 --- a/bn_django/urls.py +++ b/bn_django/urls.py @@ -22,15 +22,13 @@ urlpatterns = patterns('', {'template': 'credits.html'}), (r'^copyright/$', 'django.views.generic.simple.direct_to_template', {'template': 'copyright.html'}), - (r'^search/$', 'django.views.generic.simple.direct_to_template', - {'template': 'search.html'}), (r'^knowledge/$', 'bn_django.git_wiki.views.frontpage',), (r'^k/', include('bn_django.git_wiki.urls')), (r'^code/', include('bn_django.git_browse.urls')), (r'^photos/', include('bn_django.photos.urls')), - #(r'^search/', include('bn_django.search.urls')), + (r'^search/', include('bn_django.search.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), |