We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e658888 commit 10e5eb9Copy full SHA for 10e5eb9
assignments/week06/athome/mysite/djangor/models.py
@@ -0,0 +1,14 @@
1
+#ideas: http://lightbird.net/dbe/blog.html, https://github.com/ilblackdragon/django-blogs/blob/master/blog/models.py
2
+
3
+from django.db import models
4
+from django.utils import timezone
5
+from django.contrib.auth.models import User
6
7
8
+class Entry(models.Model):
9
+ publication_date = models.DateTimeField('Date Published')
10
+ author =
11
+ title = models.CharField(max_length=80)
12
13
+ def __unicode__(self):
14
+ return self.title
0 commit comments