title: Django max_length value for a character verying row
body: <p>So I have this pre-existing database that I'm trying to connect to using Django and I've already introspected the database and I'm just cleaning up the models before actually doing anything, and I've run into a roadblock. One of the database tables has a row:</p>
  
  <blockquote>
    <p>"name" character varying NOT NULL</p>
  </blockquote>
  
  <p>and when I've run <code>python manage.py syncdb</code>, I get the following error: </p>
  
  <blockquote>
    <p>app.artistname: "name": CharFields require a "max_length" attribute that is a positive integer.</p>
  </blockquote>
  
  <p>So I went into models.py to find out what the problem is, and I see:</p>
  
  <blockquote>
    <p>name = models.CharField(unique=True, max_length=-1)</p>
  </blockquote>
  
  <p>So my question is, what value should I set max_length to if not even the definition in the database has a value set? Do I just set it to the maximum possible value?</p>