-
**Object Attribute in Detail View:**
In Django’s DetailView, the object is accessed with `self.object`, but `hx_requests` uses `hx_object`, which feels unnecessary and confusing.
**Method Signat…
-
I believe I'm hitting a bug where I can't import anything from `django_registration.backends.activation.views` because of a bug in `django_registration.forms.RegistrationForm` that is hit at import ti…
-
### Search keywords
"DJ012", "django Model"
### Ruff Version
0.5.7
### Config
Part of pyproject.toml
```
[tool.poetry.group.dev.dependencies]
ruff = "0.5.7"
[tool.ruff]
l…
-
# Bug report
## What's wrong
With the latest django-stubs v5.0.4, I've noticed strange behavior when using models that inherit from 3rd party packages. Specifically, mypy throws a "Need type…
-
I've got this error which is caused by using a GeneratedField. Before migrating to GeneratedField, we used to use a migration script to create the generated field and django-filter has no issue with i…
-
Using sdk version 2.4.2
```
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(requ…
-
I want to write a CRUD style API. I retrieve the model data, and save the model data. I want to do that using the schema mapped from the Django Model.
When I try it, the schema serialises using th…
-
## Problem
In Django 5.0 field choices seem to be always lists, even when defined as Choices. In Django 4.3.9 it seems to be working as expected.
## Environment
- Django Model Utils version: …
-
This is from an install of the the unmerged PR, trying with Django 5.1:
- #68
But I am hoping you can recognise if this is something obvious since I am new to the package.. (TIA!)
### Non-ge…
-
## Description
As someone who regularly works with Django’s Class-Based Views (CBVs), I’ve found hx_requests to be confusing because it tries to follow the CBV pattern but deviates in small but signi…