Alan Rominger

Results 284 comments of Alan Rominger

> python3 manage.py makemigrations Also, it doesn't automatically pick up a `RenameField` for me. The generated migration for me deletes the relationship and adds a new one. That's fine, Django...

You could already pass a prefetch object, like ```python from django.db.models import Prefetch JobTemplate.objects.prefetch_related(Prefetch('labels', queryset=Label.objects.all().order_by('name'))) ``` My gut expectation from this library would be that the default queryset it uses...

Also see related issue https://github.com/jazzband/django-sortedm2m/issues/159

There's an example of `base_class` here https://github.com/jazzband/django-sortedm2m/blob/5f357c20d60e0fe8bb9735ae5e0f30bab50982dc/example/testapp/models.py#L14-L21 And documented https://github.com/jazzband/django-sortedm2m/blob/5f357c20d60e0fe8bb9735ae5e0f30bab50982dc/README.rst#L97-L114 I _only_ see testing of the `__str__` use described in the docs. I see no examples of using a `base_class`...

I added a new test here https://github.com/jazzband/django-sortedm2m/pull/208 and I'm not getting any hits. Maybe because you're using Django 2.x, we start testing with Django 3.0.

I see what's happening, but it's hard to imagine what we could do about it. A job in AWX runs against the inventory defined in the template, which exists in...

This is very similar in nature to https://github.com/ansible/awx/pull/13124, but attacking a different problem. The shared theme is fighting the entropy of unnecessarily complex and confusing call stacks when saves to...

I really like this patch. This would be a meaningful tech debt win, and it's very unlikely that other planned work will overlap with what this is changing because it's...

I found these logs from integration tests. The unexpected updates to parent instances are a real problem. The deadlock here is extremely concerning, because it happens in canceling/shutdown events and...

^ that sounds right. A user can have `use_role` to a project without having the `project_admin_role` necessary to create new projects which is what would dictate the POST presentation in...