<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>django</anon>
    <anon>memo</anon>
  </categories>
  <description>設定はHttpResponseのset_cookieを使う import datetime from django.http import HttpResponse def index(request): # 何らかの処理 response = HttpResponse(render_to_string('index.html')) set_cookie(response, 'key', 'value', 365*24*60*60) return response def set_cookie(response, key, value, max_page): expires = datetim…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120801%2F1343828616&quot; title=&quot;DjangoでCookieに値を設定または取得する方法のメモ - メモ置き場&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>2012-08-01 22:43:36</published>
  <title>DjangoでCookieに値を設定または取得する方法のメモ</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120801/1343828616</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
