<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuku81kuku81</author_name>
  <author_url>https://blog.hatena.ne.jp/kuku81kuku81/</author_url>
  <blog_title>Django Girls and Boys 備忘録</blog_title>
  <blog_url>https://kuku81kuku81.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
  </categories>
  <description>Djangoにてサイト作成時に、作成したcssファイルの内容がなかなか反映されなかった時に自分自身でやった１つの対応方法になります。 （１）settings.pyに、 STATIC_URL = '/static/'STATIC_ROOT = os.path.join(BASE_DIR, 'static')を追加。（２）HTMLファイルの先頭に{% load static %}&lt;head&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;{% static 'css/blog.css' %}&quot;&gt;&lt;/head&gt;記載。（３）CSSファイルを、（プロジェクト名)¥(アプリケーション名)¥sta…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuku81kuku81.hatenablog.com%2Fentry%2F2022%2F01%2F09%2F123753&quot; title=&quot;【Python Django】cssファイルが反映されなかった時の対応方法 - Django Girls and Boys 備忘録&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://cdn-ak.f.st-hatena.com/images/fotolife/k/kuku81kuku81/20220227/20220227192211.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-01-09 12:37:53</published>
  <title>【Python Django】cssファイルが反映されなかった時の対応方法</title>
  <type>rich</type>
  <url>https://kuku81kuku81.hatenablog.com/entry/2022/01/09/123753</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
