title: Arrayfield in Django
body: <p>my code:</p>
  
  <pre><code>pagerange_str_array = ArrayField(models.CharField(max_length=10,
                                   blank=True, default=list()))
  </code></pre>
  
  <p>docs example:
  <a href="https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/fields/" rel="nofollow noreferrer">https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/fields/</a></p>
  
  <pre><code>board = ArrayField(
      ArrayField(
          models.CharField(max_length=10, blank=True),
          size=8,
      ),
      size=8,
  )
  </code></pre>
  
  <p>docs - size: This is an optional argument.</p>
  
  <p>error message:</p>
  
  <pre><code>DETAIL: Array value must start with "{" or dimension information.
  </code></pre>
  
  <p>But none of these work:  default={}, '{}',or {''}
  They all get the same error message. </p>
  
  <p>docs: If you give the field a default, ensure it’s a callable such as list (for an empty default) or a callable that
  returns a list (such as a function)</p>
  
  <p>But none of these work either: default=list, list(). null=True (my original code) also does not work.</p>
  
  <p>All these examples give the same error. I have seen non-Django solutions on the web, but what is an example of code that works in Django?! Thanks.</p>