title: How to fix Meta.fields cannot be a string. Did you mean to type: ('name')
body: <p>Currently I have a script that allows a user to add new Hotel using a Form Here is the script.</p>
  
  <p>I get the following Error Exception
  AddHotelForm.Meta.fields cannot be a string. Did you mean to type: ('name',)?</p>
  
  <p>Request Method:     GET
  Request URL:    8000/hotel/new
  Django Version:     1.6.2
  Exception Type:     TypeError
  Exception Value:    </p>
  
  <p>AddHotelForm.Meta.fields cannot be a string. Did you mean to type: ('name',)?</p>
  
  <p>Exception Location:     /usr/local/lib/python2.7/dist-packages/django/forms/models.py in <strong>new</strong>, line 261</p>
  
  <p>I Seem not to get it I'have checked it several times and don't seem to find a solution to it.</p>
  
  <p>views.py</p>
  
  <pre><code>from django.shortcuts import render_to_response
  from forms import AddHotelForm
  from django.http import HttpResponseRedirect
  from django.core.context_processors import csrf
  from hotel.models import hotel
  
  def create(request):
  
      if request.POST:
  
           form = AddHotelForm(request.POST)
  
           if form.is_valid():
  
              form.save()
  
              return HttpResponseRedirect('/articles/all/')
  
      else:
  
           form = AddHotelForm()
  
      args = {}
      args.update(csrf(request))
  
      args['form'] = form
  
      return render_to_response('add_hotel.html', args)
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>from django.db import models
  from user.models import user
  
  
  class hotel(models.Model):
  
      publisher = models.ForeignKey(user)
      name = models.CharField(max_length=100)
      slug = models.SlugField(max_length=100)
      creation_date = models.DateField(auto_now_add=True)
  
      def __unicode__(self):
          return self.name
  </code></pre>
  
  <p>forms.py</p>
  
  <pre><code>from django import forms
  from models import hotel
  
  
  class AddHotelForm(forms.ModelForm):
  
      class Meta:
          models = hotel
          fields = ('name')
  </code></pre>
  
  <p>add_hotel.html</p>
  
  <pre><code>{% block content%}
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;style type="text/css"&gt;
          li {
              padding:5px;
              margin-bottom: 5px;
              list-style: none;
  
          }
  
          .errorlist {
              background-color: red;
              color:white;
              padding: 1px;
              width:150px;
              margin-bottom: 5px;
              font-size: 12px;
              font-family: arial, serif;
  
          }
  
          label {
              display: block;
              font-size: 12px;
              font-family: arial, serif;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form action="/hotel/new/" method="post"&gt;
          {% csrf_token %}
          &lt;uL style="display:block;"&gt;
              {{form.as_ul}}
          &lt;/ul&gt;
          &lt;input type="submit" name="submit" value="Create Hotel"&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
   {% endblock%}
  </code></pre>