cbmi/django-avocado — Issue #8: Implement DEFAULT_COLUMNS and DEFAULT_ORDERING as Concept fields
Author: bruth
Created: 2011-10-21 15:12:48+00:00
State: open

Currently these are both settings, but they should not be defined until there are Concepts defined. Once a unified `Concept` model exists (see #7) these settings can be defined like so:

```python
ORDER_BY_CHOICES = (
('asc', 'ascending'),
('desc', 'descending'),
)

class Concept(models.Model):
...
default_column = models.BooleanField(default=False)
default_column_orderby = models.CharField(choices=ORDER_BY_CHOICES, null=True)
default_column_position = models.IntegerField(null=True)
...
```

The verbosity e.g. ``default_column_*`` may need to change since the idea of a _column_ is typically associated with tabular data in which Avocado is not limited too.