djangosnippets.org: Latest snippets tagged with 'archive'http://djangosnippets.org/tags/archive/2010-09-23T05:52:25.978241-05:00Export Django data to datestamped tarball -- choose individual models for handy packaging and archiving
2010-09-23T05:52:25.978241-05:00fish2000http://djangosnippets.org/snippets/2203/<p>Just like it says -- set it up and run. Use it for server migrations, for project handoffs, in cron jobs, you name it.
</p>
<p>I have never had problems exporting models to individual fixtures in this way, and only one bout of trouble re-importing them (and that was, like, an …</p>
Freely redistributablevery archive view
2009-10-19T04:04:26.011905-05:00stuntgoathttp://djangosnippets.org/snippets/1766/<p>I tried to think of a way to use generic views to show all my blog posts on one page organized chronologically with each post title under one month name and all the month names under one year name.</p>
<p>Like so:</p>
<p>`</p>
<p>2009</p>
<pre><code>October
My last example blog entry
Entry …</code></pre>
Freely redistributablevery archive template
2009-10-19T04:03:52.194306-05:00stuntgoathttp://djangosnippets.org/snippets/1765/<p>I tried to think of a way to use generic views to show all my blog posts on one page organized chronologically with each post title under one month name and all the month names under one year name.</p>
<p>Like so:</p>
<p>`</p>
<p>2009</p>
<pre><code>October
My last example blog entry
Entry …</code></pre>
Freely redistributableMedia Wiki With mwlib
2009-01-05T09:33:06.654958-06:00nosrednakramhttp://djangosnippets.org/snippets/1277/<h3>Simple wiki with MediaWiki and Markdown Support</h3>
<p>Once you install the mwlib you can use mwit to convert Mediawiki markup to HTML. I am include the model that uses it to hopefully provide a good example. I maintain a version and only one copy of each wiki entry in the …</p>
Freely redistributableArchive week beginning on monday
2008-12-18T08:28:55.331548-06:00fivethreeohttp://djangosnippets.org/snippets/1254/<p>A modified version of the archive week generic view to make weeks start on mondays.</p>
Freely redistributable