diff options
Diffstat (limited to 'forum_modules/robotstxt')
-rwxr-xr-x | forum_modules/robotstxt/templates/robots.txt | 2 | ||||
-rwxr-xr-x | forum_modules/robotstxt/urls.py | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/forum_modules/robotstxt/templates/robots.txt b/forum_modules/robotstxt/templates/robots.txt index 97d769f1..574fc315 100755 --- a/forum_modules/robotstxt/templates/robots.txt +++ b/forum_modules/robotstxt/templates/robots.txt @@ -1,2 +1,2 @@ -User-agent: *
+User-agent: * Disallow: /
\ No newline at end of file diff --git a/forum_modules/robotstxt/urls.py b/forum_modules/robotstxt/urls.py index 83915456..79a6d84c 100755 --- a/forum_modules/robotstxt/urls.py +++ b/forum_modules/robotstxt/urls.py @@ -1,6 +1,6 @@ -from django.conf.urls.defaults import *
-from django.views.generic.simple import direct_to_template
-
-urlpatterns = patterns('',
- (r'^robots.txt$', direct_to_template, {'template': 'modules/robotsdennyall/robots.txt'}),
-)
+from django.conf.urls.defaults import * +from django.views.generic.simple import direct_to_template + +urlpatterns = patterns('', + (r'^robots.txt$', direct_to_template, {'template': 'modules/robotsdennyall/robots.txt'}), +) |