'Registers the given model(s) with the given databrowse site.
The model(s) should be Model classes, not instances.
If a databrowse class isn\'t given, it will use DefaultModelDatabrowse
(the default databrowse options).
If a model is already registered, this will raise AlreadyRegistered.'

def register(self, model_or_iterable, databrowse_class=None, **options):

    databrowse_class = (databrowse_class or DefaultModelDatabrowse)
    if issubclass(model_or_iterable, models.Model):
        model_or_iterable = [model_or_iterable]
    for model in model_or_iterable:
        if (model in self.registry):
            raise AlreadyRegistered(('The    model    %s    is    already    registered' % model.__name__))
        self.registry[model] = databrowse_class
