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

Integrate django-userena, django-friendship, and django-rest-framework's Authentication & Permissions #3

Open
falcaopetri opened this issue Oct 8, 2016 · 2 comments

Comments

@falcaopetri
Copy link
Owner

django-userena, django-friendship are already "enabled", but not integrated.

They are exposing their default API, that should be integrated with Enqueuer-api.

Django-userena has less information about its API.

For more information about django-rest-framework's Authentication & Permissions, read its Tutorial Part 4.

@falcaopetri
Copy link
Owner Author

I am doing some work to integrate django-userena and django-rest-framework's authentication on branch authentication (master...authentication)

@falcaopetri
Copy link
Owner Author

I've been trying to use the library fh-drf-friendship to provide basic views and serializers to django-friendship on DRF. It seems to be an initial work with git repository hosted here.

It has been really hard to make it work. It seems to use Python 2, Django < 1.10 and depends of another library (fh-drf-commons). It breaks on Django 1.10 because of a not-anymore-supported class (SubField, e.g. Fix Django 1.10 Deprecation Warning "SubfieldBase has been deprecated.").

I was able to edit the library and remove this dependency (but I'm not sure about consequences of this). Even so, the library does not fit well the current Enqueuer's User model (using django-userena).

So probably I could use this library as a base to code some new Views and Serializers for django-friendship. fh-drf-friendship does not have too many things by now, so the work to integrate it and the work to code a corresponding "internal library" is the same.

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

1 participant