<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nullpobug</author_name>
  <author_url>https://blog.hatena.ne.jp/nullpobug/</author_url>
  <blog_title>偏った言語信者の垂れ流し</blog_title>
  <blog_url>https://tokibito.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Django</anon>
  </categories>
  <description>django-extensionsには、スクリプトファイルを実行するための runscript というコマンドが用意されている。 このコマンドを使うと、Djangoのコンテキスト（つまり、Djangoのsettings.pyが適用された、 django.setup() を実行済みの状態）で、Pythonのスクリプトを実行できる。 RunScript — django-extensions 3.2.3 documentation 試したバージョンは、Python 3.10、Django 4.2、django-extensions 3.2.3。 scriptsフォルダにスクリプトファイルを用意する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokibito.hatenablog.com%2Fentry%2F2023%2F09%2F29%2F210227&quot; title=&quot;django-extensionsの runscript コマンドでスクリプトを実行する - 偏った言語信者の垂れ流し&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-29 21:02:27</published>
  <title>django-extensionsの runscript コマンドでスクリプトを実行する</title>
  <type>rich</type>
  <url>https://tokibito.hatenablog.com/entry/2023/09/29/210227</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
