Skip to content

Commit 10e5eb9

Browse files
committed
rough draft - week 6 team assignment
1 parent e658888 commit 10e5eb9

File tree

1 file changed

+14
-0
lines changed
  • assignments/week06/athome/mysite/djangor

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)