title: ValueError: too many values to unpack in Django models
body: <p><strong>Test.py</strong></p>
  <p>The files serves to test everything within the memepost app.</p>
  <pre><code>from django.test import TestCase
  from memepost.models import memepost, memepostForm
  from datetime import date 
  import logging
  
  logging.basicConfig(level=logging.INFO)
  logger = logging.getLogger(__name__)
  
  class memepostTestCase(TestCase):
      def setUp(self):
          memepost.objects.create(title=&quot;foo&quot;, 
              model_pic=&quot;/site_media/media/pic_folder/casual_headshot.jpg&quot;, 
              date=date(2017, 05, 14))
          memepost.objects.create(title=&quot;bar&quot;, 
              date=date(2017,05, 1))
              
      def test_memepost_enters_database(self):
          foo = memepost.objects.get(&quot;foo&quot;)
          bar = memepost.objects.get(&quot;bar&quot;)
          self.assertEqual(foo.date, &quot;6/15/17&quot;)
          logger.debug(&quot;foo date is equal to %s&quot;, foo.date)
          self.assertEqual(bar.model_pic, &quot;no-img.jpg&quot;)
          logger.debug(&quot;bar is equal to %s&quot;, bar.model_pic)
  </code></pre>
  <p><strong>models.py</strong></p>
  <p>This file serves to be scheme for creating memes in my database.</p>
  <pre><code>from __future__ import unicode_literals
  from django.forms import ModelForm
  from django.db import models
  
  # Create your models here.
  class memepost(models.Model):
      title = models.CharField(max_length=140)
      model_pic = models.ImageField(upload_to='pic_folder/', default='pic_folder/no-img.jpg')
      date = models.DateTimeField()
  
      def __unicode__(self):
          return self.title
  
  class memepostForm(ModelForm):
      class Meta:
          model = memepost
          fields = [&quot;title&quot;, &quot;model_pic&quot;, &quot;date&quot;]
  </code></pre>
  <p><strong>error</strong></p>
  <p>Okay, so I am getting this warning, but I think the problem has something to do with the title paramater since I call a get function by the title. I hope I was clear.</p>
  <pre><code>WARNING:py.warnings:/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1393:
  RuntimeWarning: DateTimeField memepost.date received a naive datetime (2017-05-01 00:00:00) while time zone support is active.
            RuntimeWarning)
  
  ======================================================================
  ERROR: test_memepost_enters_database (memepost.tests.memepostTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File &quot;/home/ubuntu/workspace/mysite/memepost/tests.py&quot;, line 20, in test_memepost_enters_database
      foo = memepost.objects.get(&quot;foo&quot;)
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/manager.py&quot;, line 122, in manager_method
      return getattr(self.get_queryset(), name)(*args, **kwargs)
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/query.py&quot;, line 378, in get
      clone = self.filter(*args, **kwargs)
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/query.py&quot;, line 790, in filter
      return self._filter_or_exclude(False, *args, **kwargs)
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/query.py&quot;, line 808, in _filter_or_exclude
      clone.query.add_q(Q(*args, **kwargs))
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/sql/query.py&quot;, line 1243, in add_q
      clause, _ = self._add_q(q_object, self.used_aliases)
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/sql/query.py&quot;, line 1269, in _add_q
      allow_joins=allow_joins, split_subq=split_subq,
    File &quot;/home/ubuntu/workspace/mysiteenv/local/lib/python2.7/site-packages/django/db/models/sql/query.py&quot;, line 1146, in build_filter
      arg, value = filter_expr
  ValueError: too many values to unpack
  
  ----------------------------------------------------------------------
  Ran 1 test in 0.007s
  </code></pre>