CelestialGuru

Results 13 comments of CelestialGuru

I've noticed that if I start typing a letter or two, autocomplete will start to work: ``` >>> fake.a fake.aba() fake.address() fake.am_pm() fake.ascii_company_email() fake.ascii_free_email() fake.add_provider( fake.administrative_unit() fake.android_platform_token() fake.ascii_email() fake.ascii_safe_email() >>>...

I thought that if an object had too many attributes, that new versions of Python would not show all those attributes when you hit tab. Below I show that an...

Can anyone else replicate this? I showed you how to run this in docker, so hopefully it should be easy enough to duplicate. (The issue can be demonstrated outside of...

For anyone coming here from the web, here's a full example of how to implement https://github.com/django-polymorphic/django-polymorphic/issues/229#issuecomment-492175425 ```python from polymorphic.managers import PolymorphicManager, PolymorphicQuerySet from polymorphic.models import PolymorphicModel class CascadeDeletePolymorphicQuerySet(PolymorphicQuerySet): """ Patch...

I too would like the latest code on PyPi. I don't like git urls in my requirements.txt file if I can avoid it...

I would like this issue reopened. It's not working on Python 3.11 either. # What used to work ``` # pip install faker=="17.3.0" # python >>> import faker >>> fake...

We know Windows PowerShell and cmd won't play nice with [TAB]s, but in WSL, with python 3.10.1, I was able to replicate the bug too. Same issue. `fake.` type [TAB]...

Okay, someone suggested I try the iPython shell. Tab completion does appear to work in there, which is nice, but I still think it's a bug when tab completion isn't...

Further study about Django forms: ## Setup ```python from django import forms from django.contrib.auth import get_user_model User = get_user_model() class MyForm(forms.Form): users = forms.ModelMultipleChoiceField(queryset=User.objects.all(), required=False) ``` ## Empty form ```python...

I think I found out where the problem is. In django.forms.models.py:ModelMultipleChoiceField.clean it has ```python def clean(self, value): value = self.prepare_value(value) if self.required and not value: raise ValidationError(self.error_messages["required"], code="required") elif not...