Giter VIP home page Giter VIP logo

django-registration-rest-framework's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Alex
  • ๐Ÿ‘€ Iโ€™m interested in programming ๐Ÿ˜, circus ๐ŸŽช, sewing ๐Ÿชก, ...
  • ๐ŸŒฑ Iโ€™m currently learning Data Science
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on Free Software ๐ŸฆŒ
  • ๐Ÿ‘ฉโ€๐Ÿญ I'm looking for a job in a non-profit organization, public institution or cooperative company.
  • ๐Ÿ“ซ Contact: [email protected]

django-registration-rest-framework's People

Contributors

alej0varas avatar tak3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-registration-rest-framework's Issues

Error

Cannot apply DjangoModelPermissions on a view that does not have .model or .queryset property.

Is this because of an update in DRF? I get the same thing when I write code based off of the SO solution that is integrated into this package.

Thanks

Django 1.5 and 1.4 transaction supports

Change transaction import to:

from django.db import transaction
# django 1.6, 1.5 and 1.4 supports
try:
    atomic_decorator = transaction.atomic
except AttributeError:
    atomic_decorator = transaction.commit_on_success

And use this decorator:

@atomic_decorator
def create_inactive_user(username=None, email=None, password=None):

๐Ÿ‘

Field Validation Failure (/ using DRF 2.4.3)

I am attempting to use the default user model, but when I post {"username": "test", "password": "test" } to register it returns:

HTTP 400 BAD REQUEST
Allow: POST, OPTIONS
Content-Type: application/json 
Vary: Accept
{
    "username": [
        "This field is required."
    ], 
    "password": [
        "This field is required."
    ]
}

I'm not sure if this is an error on my end or a incompatibility with the current version of DRF. thx

Workflow

Are there any more detailed examples for the workflow in setting up registration using this app?

Thanks

Django 1.10 and DRF 3.5.3

Hi! I 've added support for latest apps versions, are you still working on the project? I would like to contribute

Custom Email Templates

Maybe I missed something, but how do you create custom email template files?

I attempted to write my own with the same names in my project root directory, but that did not work.

Any assistance would be awesome!

Add this project on "pipy".

it's easier to install stable versions via "pypi".

pip install django-registration-rest-framework

Or other name...

Conflict with django-registration

registration.registrationprofile: Reverse query name for field 'user' clashes with related field 'User.registrationprofile'. Add a related_name argument to the definition for 'user'.

I fixed it on my local repository with:

user = models.OneToOneField(settings.AUTH_USER_MODEL,
                                unique=True, verbose_name=_('user'), related_name='api_registration_profile')

I will send a pull request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.