Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to create custom schemas #33

Closed
stefanfoulis opened this issue Jun 14, 2019 · 2 comments
Closed

Document how to create custom schemas #33

stefanfoulis opened this issue Jun 14, 2019 · 2 comments

Comments

@stefanfoulis
Copy link
Contributor

Add documentation on how a custom schema for custom object types can be integrated (can they?) with django-scim2.

@stefanfoulis
Copy link
Contributor Author

I am happy to help. I am currently trying to figure out if/how this can work by looking through the code. Any pointers would be very welcome.

@logston
Copy link
Collaborator

logston commented Aug 13, 2019

Sorry for the delay! And thank you for your interest.

Yes you can customize this.

Override this setting:

'SCHEMAS_GETTER': 'django_scim.schemas.default_schemas_getter',

And have a function like the following return your custom schemas:

def default_schemas_getter():

Thanks again @stefanfoulis and any added documentation would be welcome.

@logston logston closed this as completed Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants