Enabling federation
-
Test djangoldp.sources model, and make display of actions it work
Setting.py
Create settings variables :
- federated true/false
- Instance name
- instance hostname These values will be used in the template
Model changes:
-
Add 'Local instance' in action model. It should be informed automatically with the Instance name within the settings file
Shortlink Changes
-
Add hostname in shortlink at creation, not in Js
Template changes:
If federation is true in settings:
-
Add filter on action listing instance -
Update action data-src to federated source