Extending udata¶
udata is customizable in many ways, just choose yours.
Configuration¶
Before trying to code something specific, take a look at all the settings, there may already be some details you can easily customize with a simple setting.
Entrypoints¶
Entrypoints are modules or classes loaded by udata to extends its features.
I18N (udata.i18n)¶
Plugins can expose a translation directory with the udata.i18n entrypoint.
Harvesters (udata.harvesters)¶
Plugins can expose extra harvesters via the udata.harvesters class entrypoint.
See the Harvesting section for more details
Tasks and jobs (udata.tasks)¶
This module entrypoint allows to register new asynchronous tasks and schedulable jobs.
Generic plugins (udata.plugins)¶
A module entrypoint for generic plugins. They just have to expose a init_app(app) function
and can perform any manual initialization.
Use this entrypoint if you want to perform something not handled by previous entrypoints.
Default settings¶
Any registered plugin may also expose some default settings in a settings module (ie. my_plugin.settings). They will be automatically discovered and registered.
Translations¶
Any registered plugin may also expose translations in its root module translations directory.
They will be automatically discovered and loaded if the plugin is enabled.
Take a look at adding-translations to set up translations.
Contributing¶
Last but not least, if none of the above match your needs, you can also contribute to the core udata project and submit some contributions.