Alexander Popelnukhin avatar Alexander Popelnukhin committed fcb73b2


Comments (0)

Files changed (5)

New image


+User-agent: Yandex 
+Crawl-delay: 2
+Disallow: /media/
+User-agent: Google
+Crawl-delay: 2
+Disallow: /media/
+User-agent: Slurp
+Crawl-delay: 8
+Disallow: /media/
+User-agent: *
+Crawl-delay: 10
+Disallow: /media/


     {% endblock %}
     {% block addjs %}
     {% endblock %}
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-20421593-1']);
+      _gaq.push(['_trackPageview']);
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+    </script>
     <div id="body">
 from django.conf.urls.defaults import patterns, include
+from django.conf import settings
 # Uncomment the next two lines to enable the admin:
 from django.contrib import admin
 urlpatterns = patterns('',
     # Example:
     (r'', include('blog.urls')),
+    (r'^favicon\.ico$', 'django.views.static.serve',
+        {'path':'/favicon.ico', 'document_root':settings.MEDIA_ROOT}),
+    (r'^robots\.txt$', 'django.views.static.serve',
+        {'path':'/txt/robots.txt', 'document_root':settings.MEDIA_ROOT})
     #url(r'^projects/', 'django.views.generic.simple.direct_to_template',
         #{'template':'projects.html', 'isProjects':True}, name='projects'),
     #url(r'^projects/', 'django.views.generic.simple.direct_to_template',
     #(r'^admin/', include(,
-from django.conf import settings
 if settings.DEBUG:
     urlpatterns += patterns('',
         (r'^robots.txt$', 'django.views.static.serve',

Binary file modified.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.