#30702: Form leaks all objects of model -------------------------------------+------------------------------------- Reporter: Kevin Olbrich | Owner: nobody Type: Bug | Status: closed Component: Forms | Version: 2.2 Severity: Normal | Resolution: invalid Keywords: form, forms, | Triage Stage: queryset | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Carlton Gibson): This is an issue with your usage of the django-braces mixin, not Django. You need to ask for help on the support channels for django-braces, or django-users or StackOverflow, rather than here. It's not a bug with Django. To see this add an `assert self.user is not None` in your form's `__init__()` after the `super()` call. Follow the traceback when that fails. In general, a bug is 99% likely to be in your code and only 1% likely (if that for something like ORM filtering which is as exercised as can be) to be in the framework. So, please, before opening an issue pursue support channels to help you pin down exactly what's going on. To show a fault in Django, at the least you need to remove additional code such as django- braces. Sorry if that seems harsh, but we can't offer usage support here. We just don't have the capacity. I hope that makes sense to you. -- Ticket URL: <https://code.djangoproject.com/ticket/30702#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/071.d5bc89a576a9305b3b10a48e7e5417df%40djangoproject.com.