old_contents: __license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>'
  __author__ = 'Lucas Theis <lucas@theis.io>'
  __docformat__ = 'epytext'
  
  from django.db import models
  
  
  class List(models.Model):
      """
      Model representing a list of publications.
      """
  
      class Meta:
          ordering = ('title',)
  
      title = models.CharField(max_length=128)
      description = models.CharField(max_length=128)
  
      def __unicode__(self):
          return self.title
  
      def __str__(self):
          return self.title
  
new_contents: __license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>'
  __author__ = 'Lucas Theis <lucas@theis.io>'
  __docformat__ = 'epytext'
  
  from django.db import models
  
  
  class List(models.Model):
      """
      Model representing a list of publications.
      """
  
      class Meta:
          ordering = ('title',)
          app_label = 'publications'  # Fix for Django<1.7
  
      title = models.CharField(max_length=128)
      description = models.CharField(max_length=128)
  
      def __unicode__(self):
          return self.title
  
      def __str__(self):
          return self.title
  
subject: Fix for Django<1.7