YPCrumble

Results 66 comments of YPCrumble

@brsc2909 you would have to override this for every serializer that can create an account, not just for login. Something like the following: ``` 'SERIALIZERS': { 'password_reset': 'accounts.serializers.PasswordResetSerializer', 'user_create': 'accounts.serializers.AccountCreateSerializer',...

To add to this - the issue in #479 is only with a custom user - so adding a test asserting that the password is not required for a custom...

I think this is a great idea and would also solve #37. I like the way it's implemented in [this function from a similar library](https://github.com/mattyork/fuzzy/blob/master/lib/fuzzy.js#L37). This file could be a...

@vdw for now I'll use the suggestion in #34, I believe that's the current suggested implementation. Feel free to close this if you think that's the best solution.

My current workaround is to change `.text` to `.html` and add my `nodata` string as HTML. I'm somewhat concerned it could lead to an XSS vulnerability but the input is...

@ad-m I'm not sure I completely understand, but are you suggesting I use signals to check whether the relationship unique prior to saving it? I _could_ do that, but what...

Thanks for building this repo (and for Djoser)! I would much prefer the first proposal here - adding a group under `DJANGO_TEMPLATED_EMAIL`. This would follow "explicit rather than implicit" and...

This is the relevant section of the MyPy docs as to why this might be happening: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker

See #162 - this library doesn't support the new v5 API. I've been using https://github.com/sergioteula/python-amazon-paapi which has worked well.

Thanks @sobolevn ! Do you mean something like this: ``` class DjangoModelProtocol(Protocol): id: int ``` Let's say my class looks like this: ``` class SomeModel(models.Model): def say_something(self): print(self.id) ``` If...