Django: Models' "editable=False" causes "Unknown field error"
<p>I'm writing a Django model which is called "Entry" and has an attribute called "name" which I don't wish the user to be able to change.</p>

<p>According to the docs I would use editable and set it to False: <a href="https://docs.djangoproject.com/en/1.9/ref/models/fields/#editable" rel="nofollow">https://docs.djangoproject.com/en/1.9/ref/models/fields/#editable</a></p>

<p>With this included my code for that model looks like:</p>

<pre><code>from django.db import models

class Entry(models.Model):
    name=models.CharField(max_length=50, editable=False)
</code></pre>

<p>This however gives me the error:</p>

<blockquote>
  <p>django.core.exceptions.FieldError: Unknown field(s) (name) specified for Entry</p>
</blockquote>

<p>When I remove editable it works fine though, have I missed something, and how do you disable an attribute being edited? </p>

<p>I'm using Django 1.9 with Python2.7</p>

<p>Thanks</p>