Django model meta class
https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#a-full-example
class BookForm(ModelForm):
class Meta:
model = Book
fields = ['name', 'authors']
class Book(models.Model):
name = models.CharField(max_length=100)
authors = models.ManyToManyField(Author)
django官網還有很多網路上的tutorial都在class Meta裡面使用model =xxx 和 fields
=[aaa,bbb]這兩個options
但是我在官網上model Meta options卻找不到這個用法
https://docs.djangoproject.com/en/1.8/ref/models/options/
請問有人知道官網上那裡可以找到這個reference嗎?
謝謝