-
# admin.py
```
from django import forms
from django.contrib import admin
from .models import Product, Category
class ProductAdminForm(forms.ModelForm):
category = forms.ChoiceField(choic…
-
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…
-
tried to install this to use it on django. python version is 3.12
```
❯ pip install ./rqlite-django
Processing ./rqlite-django
Installing build dependencies ... done
Getting requirements to…
-
Hello!
I use the latest Django 2.2, Django Rest framework 3.9.2, drf-yasg 1.15.0
I have the Sample base class
```
class Sample(models.Model):
code = models.CharField(max_length=255)
…
-
## Describe the Bug
Strawberry-django does not seem to support chunked transfers when using multipart uploads.
Thanks to @enisdanjo (https://github.com/ardatan/graphql-mesh/issues/7701) :
You can …
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
I'm using Pydantic with Django models (and FastAPI). I have a use case where I have a DJango model that has a couple of…
-
Maybe a duplicate of #212 , but I think there still are some differences, therefore I created this new issue. In order to reproduce the bug, a models.ManyToManyField with a through property has to be …
-
I am encountering a `ProgrammingError` when unapplying migrations that include triggers. The error occurs when running the `python manage.py migrate [app] zero` command or unapplying specific migratio…
-
Something in setuptools must have changed. The installation of this package no longer works. The following illustrates this error.
```
$ docker run --rm -it python:3.10 bash
root@42fe5bddf6e6:/# …
-
**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…