djangosnippets.org: Latest snippets posted by coulixhttps://djangosnippets.org/users/coulix/2010-08-18T03:47:20.606303-05:00coulixGoogle map on admin address field
2010-08-18T03:47:20.606303-05:00coulixhttps://djangosnippets.org/snippets/2154/<p>Who never wished to have valid address data by showing a little google map with a marker near the address input text ?
Using js only it gets quite easy.</p>
Freely redistributableTemplate tag: Last x twitter msgs of user
2009-07-04T11:18:52.822454-05:00coulixhttps://djangosnippets.org/snippets/1615/<p>A template tag which returns the n last tweets of a given user.
</p>
<p>It uses the twitter python lib.
</p>
<p> {% get_twitter_messages user foo limit 5 as tweets %}
{% for tweet in tweets %}
{{ tweet.text }} {{ tweet.time }} {{ tweet.url }}
{% endfor %}
</p>
Freely redistributableCustom panel showing your project svn revision on djano debug toolbar
2008-09-22T04:50:13.304565-05:00coulixhttps://djangosnippets.org/snippets/1074/<p>This shows a simple way of adding your project current SVN to the django debug toolbar by creating a custom debug panel. </p>
Freely redistributable