<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5329451588606872189</id><updated>2011-11-27T16:30:58.298-08:00</updated><title type='text'>Django tips and tricks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://django-tips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5329451588606872189/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://django-tips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kudra</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_JHJN35MQrMw/SfAbUnWJtEI/AAAAAAAAADs/e0-r2WGMAz8/S220/Kudra4.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5329451588606872189.post-275825614521151481</id><published>2009-12-18T10:11:00.000-08:00</published><updated>2009-12-18T10:14:04.704-08:00</updated><title type='text'>django-google-analytics</title><content type='html'>Taken from: &lt;br /&gt;&lt;br /&gt;# Non-members may check out a read-only working copy anonymously over HTTP.&lt;br /&gt;svn checkout http://django-google-analytics.googlecode.com/svn/trunk/ django-google-analytics-read-only &lt;br /&gt;&lt;br /&gt;Two modes of operation&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Administering and associating codes with Django sites&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   1. Add the google_analytics application to your INSTALLED_APPS section of your settings.py. This mode requires that you be using the Django sites framework too, so make sure you have that set up as well.&lt;br /&gt;   2. Add GOOGLE_ANALYTICS_MODEL = True to your settings.py&lt;br /&gt;   3. Run a ./manage.py syncdb to add the database tables&lt;br /&gt;   4. Go to your project's admin page (usually /admin/) and click into a site objects&lt;br /&gt;   5. You'll now see a new field under the normal site information called "Analytics Code". In this box you put your unique analytics code for your project's domain. It looks like UA-xxxxxx-x and save the site.&lt;br /&gt;   6. In your base template (usually a base.html) insert this tag at the very top: {% load analytics %}&lt;br /&gt;   7. In the same template, insert the following code right before the closing body tag: {% analytics %} &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Just using the template tag&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   1. Add the google_analytics application to your INSTALLED_APPS section of your settings.py.&lt;br /&gt;   2. In your base template, usually a base.html, insert this tag at the very top: {% load analytics %}&lt;br /&gt;   3. In the same template, insert the following code right before the closing body tag: {% analytics "UA-xxxxxx-x" %} the UA-xxxxxx-x is a unique Google Analytics code for you domain when you sign up for a new account.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5329451588606872189-275825614521151481?l=django-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://django-tips.blogspot.com/feeds/275825614521151481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://django-tips.blogspot.com/2009/12/django-google-analytics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5329451588606872189/posts/default/275825614521151481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5329451588606872189/posts/default/275825614521151481'/><link rel='alternate' type='text/html' href='http://django-tips.blogspot.com/2009/12/django-google-analytics.html' title='django-google-analytics'/><author><name>Kudra</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_JHJN35MQrMw/SfAbUnWJtEI/AAAAAAAAADs/e0-r2WGMAz8/S220/Kudra4.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5329451588606872189.post-8189734662391897957</id><published>2009-12-14T02:28:00.000-08:00</published><updated>2009-12-14T02:34:32.301-08:00</updated><title type='text'>Django links</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Instant django for windows:&lt;/span&gt; &lt;a href="http://www.instantdjango.com/"&gt;http://www.instantdjango.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Django on GitHub:&lt;/span&gt; &lt;a href="http://code.djangoproject.com/wiki/CollaborateOnGithub"&gt;http://code.djangoproject.com/wiki/CollaborateOnGithub&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Django documentation for developers:&lt;/span&gt; &lt;a href="http://docs.djangoproject.com/en/dev/"&gt;http://docs.djangoproject.com/en/dev/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Django search engine:&lt;/span&gt; &lt;a href="http://djangosearch.com/"&gt;http://djangosearch.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5329451588606872189-8189734662391897957?l=django-tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://django-tips.blogspot.com/feeds/8189734662391897957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://django-tips.blogspot.com/2009/12/django-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5329451588606872189/posts/default/8189734662391897957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5329451588606872189/posts/default/8189734662391897957'/><link rel='alternate' type='text/html' href='http://django-tips.blogspot.com/2009/12/django-links.html' title='Django links'/><author><name>Kudra</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_JHJN35MQrMw/SfAbUnWJtEI/AAAAAAAAADs/e0-r2WGMAz8/S220/Kudra4.jpg'/></author><thr:total>0</thr:total></entry></feed>
