<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wonder-wall</author_name>
  <author_url>https://blog.hatena.ne.jp/wonder-wall/</author_url>
  <blog_title>もた日記</blog_title>
  <blog_url>https://wonderwall.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Python</anon>
  </categories>
  <description>login_requiredデコレータ ログイン後のリダイレクト先 login_requriedのテスト Topic作成者としてログインユーザーを指定 まとめ A Complete Beginner's Guide to Djangoのチュートリアルを参考にビューをログイン済みユーザのみに制限してみる。 login_requiredデコレータ 前回まででユーザー認証機能は実装したので、新しいTopicを作成する機能をログイン済みユーザのみに制限する。 上の画像からわかるように現時点ではログインしていないユーザーでもアクセスできるようになっている。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwonderwall.hatenablog.com%2Fentry%2F2018%2F03%2F25%2F180000&quot; title=&quot;Djangoメモ(25) : login_requiredデコレータでビューをログイン済みユーザーのみに制限 - もた日記&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/w/wonder-wall/20180325/20180325141352.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-25 18:00:00</published>
  <title>Djangoメモ(25) : login_requiredデコレータでビューをログイン済みユーザーのみに制限</title>
  <type>rich</type>
  <url>https://wonderwall.hatenablog.com/entry/2018/03/25/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
