Peter Thomassen

Results 78 issues of Peter Thomassen

I am running a Django application with the following uwsgi configuration: ``` [uwsgi] socket = [::]:3031 chdir = /usr/src/app/ wsgi-file = api/wsgi.py processes = 64 threads = 1 uid =...

Related: https://github.com/django/django/pull/8870/files *Note*: Before submitting this pull request, please review our [contributing guidelines](https://www.django-rest-framework.org/community/contributing/#pull-requests). ## Description Properly handle OverflowError in DurationField deserialization. Solution is the same as for the corresponding Django...

This allows views to distinguish missing payload from empty payload. Related: #3647, #4566 ## Description continuation of #7195

Needs design decision

I have a model with the following field: ```python max_age = models.DurationField(null=True, default=None, validators=[MinValueValidator(timedelta(0))]) ``` The schema contains the following output: ``` max_age: type: string nullable: true minimum: !!python/object/apply:datetime.timedelta -...

**Motivation** When reading a zone file, records can be dynamically generated using the `$GENERATE` directive. This is a BIND-specific feature, not a DNS feature. It should not necessarily be supported...

Enhancement Request

Class-based views greatly simplify adding extra logic into views. I am therefore proposing to refactor the views into class-based views. Here are some examples why this is useful, at least...

type:feature-request
release:next-major-version

Preparation for Python 3.11 release (due ~today).

This removes Nils' implementation of gitzones-based replication. It had been a lot of work and almost a 1000 lines, but we found that git repo maintenance is not reliable enough...