Package django :: Package contrib :: Package databrowse :: Module sites :: Class DatabrowsePlugin
[hide private]
[frames] | no frames]

Class DatabrowsePlugin

source code

object --+
         |
        DatabrowsePlugin

Instance Methods [hide private]
 
urls(self, plugin_name, easy_instance_field)
Given an EasyInstanceField object, returns a list of URLs for this plugin's views of this object.
source code
 
model_index_html(self, request, model, site)
Returns a snippet of HTML to include on the model index page.
source code
 
model_view(self, request, model_databrowse, url)
Handles main URL routing for a plugin's model-specific pages.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

urls(self, plugin_name, easy_instance_field)

source code 

Given an EasyInstanceField object, returns a list of URLs for this plugin's views of this object. These URLs should be absolute.

Returns None if the EasyInstanceField object doesn't get a list of plugin-specific URLs.