aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/settings.py.example2
-rw-r--r--bn_django/templates/base.html2
-rw-r--r--bn_django/templates/search.html10
-rw-r--r--bn_django/urls.py4
4 files changed, 15 insertions, 3 deletions
diff --git a/bn_django/settings.py.example b/bn_django/settings.py.example
index d9e3198..16a90b2 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 = 'jdsgk29845ldsfg0090204tv(GFD8g0(%$)*@$#R%U)#*ifd;/q'
+SECRET_KEY = 'jdsgk298451dsfg0090204tv(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 7349669..100ef4a 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">
+<form name="search" action="/search">
<br/>
<input class="search_box" type="text" size="21" value="&nbsp;search!"
name="search_text" id="search_text"
diff --git a/bn_django/templates/search.html b/bn_django/templates/search.html
new file mode 100644
index 0000000..246bd74
--- /dev/null
+++ b/bn_django/templates/search.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block title %}Search?{% endblock %}
+
+{% block right_stuff %}
+{% endblock %}
+
+{% block content %}
+<p />Seach isn't implemented yet!
+{% endblock %}
diff --git a/bn_django/urls.py b/bn_django/urls.py
index eaf991e..08986f1 100644
--- a/bn_django/urls.py
+++ b/bn_django/urls.py
@@ -22,13 +22,15 @@ 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')),