Skip to content

jonykalavera/django-tastyprofiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Tastyprofiles

RESTful auth resource.

Install

pip install -e git+ssh://git@git.interalia.net:22223/osc/django-tastyprofiles.git#egg=django-tastyprofiles

Define your custom user model as described in the docs.

https://docs.djangoproject.com/en/1.8/topics/auth/customizing/#substituting-a-custom-user-model

Define the custom user model resource like this to get all the custom endpoints.

api.py

# -*- coding: utf-8 -*-
from tastyprofiles.api import user_resource_factory

BaseUserResource = user_resource_factory()


class UserResource(BaseUserResource):
    class Meta(BaseUserResource.Meta):
        pass

Forked from: https://git.interalia.net/osc/django-tastyprofile

by @jonykalavera

About

Tastypie auth resource.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published