-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
46 lines (37 loc) · 2.43 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Utkarsh Shah</title>
<link>http://utkarshshah.com/</link>
<description>Recent content on Utkarsh Shah</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-US</language>
<lastBuildDate>Wed, 02 May 2018 00:00:00 -0400</lastBuildDate>
<atom:link href="http://utkarshshah.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Exploring Relationship Queries with Django</title>
<link>http://utkarshshah.com/blog/django-queries/</link>
<pubDate>Wed, 02 May 2018 00:00:00 -0400</pubDate>
<guid>http://utkarshshah.com/blog/django-queries/</guid>
<description>When creating a Django application, almost all valuable data models take advantage of relations. Often, as projects grow, we need to make complex queries on relationships. To illustrate this, let&rsquo;s use two basic models as examples: Tour and Concert.
class Tour(models.Model): name = models.CharField(max_length=200) class Concert(models.Model): name = = models.CharField(max_length=200) tour = models.ForeignKey(Tour, on_delete=models.CASCADE) start = models.DateTimeField() tix_available = models.BooleanField() This sets up a one-to-many relationship from Tour to Concert and adds some useful information to each Concert - when the show happens and how many tickets are still available.</description>
</item>
<item>
<title>A First Post</title>
<link>http://utkarshshah.com/blog/first/</link>
<pubDate>Wed, 02 Aug 2017 00:00:00 -0400</pubDate>
<guid>http://utkarshshah.com/blog/first/</guid>
<description>Sorry to disappoint! Nothing here about how to make your very own copy of this blog (no cat pictures either!).
Maybe one day, you will come here and find something. But not today.
I should just cover this blog with memes.</description>
</item>
<item>
<title>About</title>
<link>http://utkarshshah.com/about/</link>
<pubDate>Sun, 02 Oct 2016 22:55:05 -0400</pubDate>
<guid>http://utkarshshah.com/about/</guid>
<description>Hey! Someday, this page will contain a semi-accurate, but highly embellished account of my short, mostly uninteresting life.
But for now, this &ldquo;coming soon&rdquo; message will have to do.</description>
</item>
</channel>
</rss>