Plugin API

The Pulp Plugin API is versioned separately from Pulp Core. It is governed by semantic versioning. Backwards incompatible changes may be made until the Plugin API reaches stability with v1.0. For the latest version of the Plugin API see release notes.

exception pulpcore.plugin.PulpException(error_code)

Base exception class for Pulp.

Parameters:error_code (str) – unique error code
http_status_code = 500
class pulpcore.plugin.PulpPluginAppConfig(app_name, app_module)

AppConfig class. Use this in plugins to identify your app as a Pulp plugin.

import_serializers()
import_urls()

If a plugin defines a urls.py, include it.

import_viewsets()
ready()

Override this method in subclasses to run code when Django starts.