<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Flowchart on Dr. Hitesh Sarda</title>
		<link>https://hitesh.in/tags/flowchart/</link>
		<description>Recent content in Flowchart on Dr. Hitesh Sarda</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Wed, 09 Dec 2009 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://hitesh.in/tags/flowchart/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Django Flowchart</title>
				<link>https://hitesh.in/2009/django-flowchart/</link>
				<pubDate>Wed, 09 Dec 2009 00:00:00 +0000</pubDate>
				<guid>https://hitesh.in/2009/django-flowchart/</guid>
				<description>&lt;p&gt;Based on my current understanding of Django, this is how a user request is responded to.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://hitesh.in/2009/django-flowchart/images/120909_1217_DjangoFlowc1.png&#34; alt=&#34;Django Flowchart&#34; width=&#34;531&#34; height=&#34;699&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;User requests a page&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Request reaches &lt;em&gt;Request Middlewares&lt;/em&gt;, which could manipulate or answer the request&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The _URLConf_finds the related View using urls.py&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;em&gt;View Middlewares&lt;/em&gt; are called, which could manipulate or answer the request&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The &lt;em&gt;view&lt;/em&gt; function is invoked&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The view could optionally access data through models&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;All &lt;em&gt;model&lt;/em&gt;-to-DB interactions are done via a &lt;em&gt;manager&lt;/em&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
