aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2007-03-26 22:53:23 -0700
committerBryan Newbold <bnewbold@animus.robocracy.org>2007-03-26 22:53:23 -0700
commit310013244f1d7e435b67aa52f0c46cbee8124ca9 (patch)
tree60d84046d5a6646b92ff1e9df8dc3153f3dbd220
parent67e6320434f0e130ea02b5bbfc8ba8a9fd182777 (diff)
downloadbnewnet-310013244f1d7e435b67aa52f0c46cbee8124ca9.tar.gz
bnewnet-310013244f1d7e435b67aa52f0c46cbee8124ca9.zip
tweaks
-rw-r--r--bn_django/settings.py.example2
-rw-r--r--bn_django/templates/base.html2
-rw-r--r--bn_django/urls.py4
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="&nbsp;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')),