<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff></diff>
      <filename>modelica/modelica.db</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,8 @@ from modelica.newsletter.models import Newsletter, Item, Section
 from django.contrib import admin
 
 class ItemAdmin(admin.ModelAdmin):
-    list_display = ('title', 'author', 'weight')
-    search_fields = ('title', 'author', 'organization', 'body')
+    list_display = ('title', 'weight')
+    search_fields = ('title', 'organization', 'body')
     list_filter = ('section',)
     ordering = ('weight',)
 </diff>
      <filename>modelica/newsletter/admin.py</filename>
    </modified>
    <modified>
      <diff>@@ -6,10 +6,8 @@ class Newsletter(models.Model):
     number = models.IntegerField()
     footer = models.XMLField(null=True,blank=True)
 
-    author = models.CharField(max_length=200,blank=True)
-    author_email = models.EmailField(blank=True)
-    # author = models.ForeignKey('auth.User', verbose_name=&quot;Newsletter Author&quot;,
-    #                            blank=True)
+    author = models.ForeignKey('auth.User', verbose_name=&quot;Newsletter Author&quot;,
+                               blank=True)
     title = models.CharField(max_length=100,blank=True)
     body = models.XMLField(blank=True)
 
@@ -25,10 +23,8 @@ class Section(models.Model):
 
 # Create your models here.
 class Item(models.Model):
-    author = models.CharField(max_length=200)
-    author_email = models.EmailField(blank=True)
-    # author = models.ForeignKey('auth.User', verbose_name=&quot;Item Author&quot;,
-    #                            blank=True)
+    author = models.ForeignKey('auth.User', verbose_name=&quot;Item Author&quot;,
+                               blank=True)
     image = models.ImageField(upload_to=&quot;images&quot;,blank=True)
     organization = models.CharField(max_length=200)
     org_url = models.URLField(blank=True)
@@ -37,4 +33,4 @@ class Item(models.Model):
     section = models.ForeignKey(Section)
     weight = models.IntegerField()
     def __unicode__(self):
-        return &quot;%s: '%s' %s&quot; % (self.author, unicode(self.title), unicode(self.section))
+        return &quot;%s: '%s' %s&quot; % ('author', unicode(self.title), unicode(self.section))</diff>
      <filename>modelica/newsletter/models.py</filename>
    </modified>
    <modified>
      <diff>@@ -113,7 +113,7 @@ Hilding Elmqvist, Treasurer (Dynasim AB, Sweden)
     {{item.body|safe}}
 
   &lt;p&gt;&lt;i&gt;
-      This article is provided by {{item.author}} ({{item.organization}}).
+      This article is provided by {{item.author.first_name}} {{item.author.last_name}} ({{item.organization}}).
   &lt;/i&gt;&lt;/p&gt;
   &lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;
 &lt;/div&gt;</diff>
      <filename>modelica/newsletter/templates/render.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5fd5ff891b76786e2aa0ff34aacf950c0ae1a004</id>
    </parent>
  </parents>
  <author>
    <name>Michael Tiller</name>
    <email>mtiller@Emmeskay060.(none)</email>
  </author>
  <url>http://github.com/mtiller/modelica-newsletter/commit/8542e9d513b124bf565ba52da05aa5eb3951449d</url>
  <id>8542e9d513b124bf565ba52da05aa5eb3951449d</id>
  <committed-date>2009-11-06T11:28:15-08:00</committed-date>
  <authored-date>2009-11-06T11:28:15-08:00</authored-date>
  <message>Added migrations to set authors up as users (and to render their names correctly in the HTML output).  This is an important step in getting user accessibility.</message>
  <tree>5ad9185c15579c3b0b7ce23f78b695b18f4b6489</tree>
  <committer>
    <name>Michael Tiller</name>
    <email>mtiller@Emmeskay060.(none)</email>
  </committer>
</commit>
