{"action":"created","issue":{"url":"https://api.github.com/repos/falcaopetri/enqueuer-api/issues/3","repository_url":"https://api.github.com/repos/falcaopetri/enqueuer-api","labels_url":"https://api.github.com/repos/falcaopetri/enqueuer-api/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/falcaopetri/enqueuer-api/issues/3/comments","events_url":"https://api.github.com/repos/falcaopetri/enqueuer-api/issues/3/events","html_url":"https://github.com/falcaopetri/enqueuer-api/issues/3","id":181842362,"number":3,"title":"Integrate django-userena, django-friendship, and django-rest-framework's Authentication & Permissions","user":{"login":"falcaopetri","id":8387736,"avatar_url":"https://avatars.githubusercontent.com/u/8387736?v=3","gravatar_id":"","url":"https://api.github.com/users/falcaopetri","html_url":"https://github.com/falcaopetri","followers_url":"https://api.github.com/users/falcaopetri/followers","following_url":"https://api.github.com/users/falcaopetri/following{/other_user}","gists_url":"https://api.github.com/users/falcaopetri/gists{/gist_id}","starred_url":"https://api.github.com/users/falcaopetri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falcaopetri/subscriptions","organizations_url":"https://api.github.com/users/falcaopetri/orgs","repos_url":"https://api.github.com/users/falcaopetri/repos","events_url":"https://api.github.com/users/falcaopetri/events{/privacy}","received_events_url":"https://api.github.com/users/falcaopetri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-08T18:51:03Z","updated_at":"2016-10-19T00:07:46Z","closed_at":null,"body":"[django-userena](https://github.com/bread-and-pepper/django-userena), [django-friendship](https://github.com/revsys/django-friendship) are already \"enabled\", but not integrated.\r\n\r\nThey are exposing their default API, that should be integrated with Enqueuer-api.\r\n\r\nDjango-userena has less information about its API.\r\n\r\nFor more information about django-rest-framework's Authentication & Permissions, read its [Tutorial Part 4](http://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/)."},"comment":{"url":"https://api.github.com/repos/falcaopetri/enqueuer-api/issues/comments/254674545","html_url":"https://github.com/falcaopetri/enqueuer-api/issues/3#issuecomment-254674545","issue_url":"https://api.github.com/repos/falcaopetri/enqueuer-api/issues/3","id":254674545,"user":{"login":"falcaopetri","id":8387736,"avatar_url":"https://avatars.githubusercontent.com/u/8387736?v=3","gravatar_id":"","url":"https://api.github.com/users/falcaopetri","html_url":"https://github.com/falcaopetri","followers_url":"https://api.github.com/users/falcaopetri/followers","following_url":"https://api.github.com/users/falcaopetri/following{/other_user}","gists_url":"https://api.github.com/users/falcaopetri/gists{/gist_id}","starred_url":"https://api.github.com/users/falcaopetri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falcaopetri/subscriptions","organizations_url":"https://api.github.com/users/falcaopetri/orgs","repos_url":"https://api.github.com/users/falcaopetri/repos","events_url":"https://api.github.com/users/falcaopetri/events{/privacy}","received_events_url":"https://api.github.com/users/falcaopetri/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T00:07:46Z","updated_at":"2016-10-19T00:07:46Z","body":"I've been trying to use the library [fh-drf-friendship](https://pypi.python.org/pypi/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](https://gitlab.com/futurehaus/drf-friendship).\r\n\r\nIt 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](https://pypi.python.org/pypi/fh-drf-common/0.1.10)). 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.\"](https://github.com/omab/python-social-auth/pull/813)).\r\n\r\nI 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**).\r\n\r\nSo 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."}}
{"actor":{"display_login":"falcaopetri"}}