Hello!
I have these classes:
class SuperClassManager(models.Manager):
def get_by_natural_key(self, identifier):
return self.get(identifier=identifier)
class SuperClass(models.Model):
objects = SuperClassManager()
identifier = models.CharField(max_length=31, unique=True)
Hi João,
It seems like this is an already reported bug[1] with an existing stale
PR[2]
you might want to work on.
Cheers,
Simon
[1] https://code.djangoproject.com/ticket/24607
[2] https://github.com/django/django/pull/4473
Le samedi 10 septembre 2016 10:32:01 UTC-4, João Sampaio a écrit :
>
>
Great! I've been wanting to contribute to Django for a long time, so I'll
take a shot at this, hopefully I can help.
On Sat, Sep 10, 2016 at 11:56 AM, charettes wrote:
> Hi João,
>
> It seems like this is an already reported bug[1] with an existing stale
> PR[2]
> you might want to work on.
>
>
Hello.
I just sent a pull request for this bug, you can check it out here:
https://github.com/django/django/pull/7231
This is the first pull request I ever sent to a project, so I'm pretty
excited. If there's something to fix in the pull request, let me know!
There's a test to catch a regr