<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Python</anon>
  </categories>
  <description>Djangoを使ったWebサービスを作っている際に、バッチ処理が必要になったので、その際の備忘録。 環境は、Django1.10.1とPython2.7 Djangoの機能を利用したバッチを作るならカスタムコマンド いろいろ調べてみたところ、Djangoの機能を使いつつ、バッチ処理をするには、 manage.pyのカスタムコマンドを作るのがよいよう refs: 公式のドキュメント(カスタム django-admin コマンドの実装 | Django ドキュメント | Django) 最終的には、 python manage.py &lt;自作コマンド&gt; で実行できるようになる。 カスタムコマンドは、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2017%2F03%2F19%2F230958&quot; title=&quot;DjangoでBatch処理(カスタムコマンド) - くらげになりたい。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51TxIQ16CRL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-03-19 23:09:58</published>
  <title>DjangoでBatch処理(カスタムコマンド)</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2017/03/19/230958</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
