Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: dfalk/priceproject
base: da11509b34
...
head fork: dfalk/priceproject
compare: 2128e382c9
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 25 additions and 3 deletions.
  1. +20 −0 templates/base.html
  2. +5 −3 urls.py
20 templates/base.html
View
@@ -33,3 +33,23 @@
{% endblock %}
{% block footer %}<i>(c) SkyFalk Studio, 2012</i>{% endblock %}
+
+{% block extra_body %}
+
+<!-- Yandex.Metrika informer -->
+<a href="http://metrika.yandex.ru/stat/?id=10825897&amp;from=informer"
+target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/10825897/3_0_DFDFDFFF_BFBFBFFF_0_pageviews"
+style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:10825897,type:0,lang:'ru'});return false}catch(e){}"/></a>
+<!-- /Yandex.Metrika informer -->
+
+<!-- Yandex.Metrika counter -->
+<script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript"></script>
+<script type="text/javascript">
+try { var yaCounter10825897 = new Ya.Metrika({id:10825897,
+ accurateTrackBounce:true});}
+catch(e) { }
+</script>
+<noscript><div><img src="//mc.yandex.ru/watch/10825897" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
+<!-- /Yandex.Metrika counter -->
+
+{% endblock %}
8 urls.py
View
@@ -34,12 +34,14 @@ def priority(self, item):
(r'^admin/', include(admin.site.urls)),
(r'^yandex_417e26a084231734.html$', 'django.views.static.serve', {'path':"/yandex_master.html",'document_root': settings.STATIC_ROOT,'show_indexes': False}),
-
- (r'^', include('fprice.urls')), # sad / but true
)
-# routing static files
+# routing media files
if settings.LOCALSERVER:
urlpatterns+= patterns('',
url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
)
+
+urlpatterns+= patterns('',
+ (r'^', include('fprice.urls')), # sad / but true
+)

No commit comments for this range

Something went wrong with that request. Please try again.