Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
[bug 848960] Remove function view
Browse files Browse the repository at this point in the history
Nix a bunch of dead code. Pretty sure this is causing the deprecation
warnings that Chris is seeing, too.
  • Loading branch information
willkg committed Mar 20, 2013
1 parent d546c46 commit f93d3f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions fjord/search/urls.py
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
from django.conf.urls.defaults import patterns, url
from django.views.generic.simple import redirect_to


urlpatterns = patterns('fjord.search.views',
url(r'^search$', redirect_to, {'url': 'stub'}, name='search'),
)
4 changes: 0 additions & 4 deletions fjord/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
(r'', include('fjord.analytics.urls')),
(r'', include('fjord.base.urls')),
(r'', include('fjord.feedback.urls')),
(r'', include('fjord.search.urls')),

# TODO: Remove this stub. /about and /search point to it.
url(r'stub', lambda r: HttpResponse('this is a stub'), name='stub'),

# Generate a robots.txt
(r'^robots\.txt$',
Expand Down

0 comments on commit f93d3f9

Please sign in to comment.