title: How does Django's nested Meta class work?
body: <p>I am using Django which allows people to add extra parameters to a class by using <code>class Meta</code>.</p>
  
  <pre><code>class FooModel(models.Model):
      ...
      class Meta:
          ...
  </code></pre>
  
  <p>The only thing I found in Python's documentation was:</p>
  
  <pre><code>class FooMetaClass(type):
      ...
  
  class FooClass:
      __metaclass__ = FooMetaClass
  </code></pre>
  
  <p>However, I don't think this is the same thing.</p>