﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15984	model fields options in Meta class	Matt Harasymczuk	nobody	"Move model fields options, such as:
- blank=BOOL
- null=BOOL
- auto_add=BOOL
- auto_add_now=BOOL
- db_index=BOOL

and others boolean options to Meta class of this model.

It would make model fields more readable and human friendly.

it works for unique_together
why not to add:

unique = ('name', 'login', 'ssn')
db_index = ('name', 'login')
auto_add = ('signup_date', )
auto_add_now = ('last_mod', )
null = ('comment', 'first_name')
read_only = ('') # editable=False

... and so on ...


It was discussed at 2011-05-06 at [https://groups.google.com/forum/#!topic/django-developers/vzQqcmA-_LQ Django-dev]"	New feature	closed	Database layer (models, ORM)		Normal	wontfix			Unreviewed	0	0	0	0	0	0
