Admin Views Urls

Getting the url to a view in the admin section requires using ContentType and urlresolvers and is less than concise.

So, to assist with creating these urls, CWF provides AdminView.

class cwf.views.admin_views.AdminView[source]

Stateless Object that knows how to get url to an admin view

classmethod add_view(obj)[source]

Admin add view for a particular model

classmethod change_list(obj)[source]

Admin list view for a particular model

classmethod change_view(obj)[source]

Admin change view for a particular instance of an object