-
my **models.py**
``` python
from datetime import datetime, date
from django.db import models
from django.contrib.auth.models import User, AbstractUser, AbstractBaseUser
from django.contrib.auth.admin…
-
**Describe the bug**
I tried to use a function as the maximum value for an IntegerField in a Django model, since [the validator docs](https://docs.djangoproject.com/en/4.1/ref/validators/#maxvaluev…
-
I have a model with nullable fields. Upgrading from 3.14 to 3.15 I'm getting this error:
`AssertionError: You cannot call .save() on a serializer with invalid data.`
When I print the `serializer.e…
-
If a Django model field is defined with validators, they should be propagated down through the configuration and used for new/edit screens on the client.
In general it is impossible to use the same v…
-
**Describe the bug**
After the installation via `pip install label-studio` it crashes upon start with an error message.
**To Reproduce**
Steps to reproduce the behavior:
1. `python -m venv lab…
-
Stack trace:
```plaintext
UniqueViolation: duplicate key value violates unique constraint "oauth2_provider_accesstoken_source_refresh_token_id_key"
DETAIL: Key (source_refresh_token_id)=(155) al…
ghost updated
4 years ago
-
Hello,
I have a problem with django-tenants. I am still learning to program, so it is possible that I have made a beginner's mistake somewhere.
I will explain what I am trying to achieve with a …
-
**Describe the bug**
Models that are OneToOne related are producing an `RelatedObjectDoesNotExist` error using ModelSchema.
```
# models.py
class User(models.Model):
email = models.EmailFie…
-
- [x] #78 related name 복수로 models
- [x] #78 testcode 생성 인스턴스 1개일 경우 quantity 제거
- [x] #78 변수명 유의미 하게 체크
- [x] #78 if sale is not None: 사용하지 말고 if sale: 로 변경 app/goods/view
- [x] #78 choice 필드로…
-
Hi , I have an Item Model :
```
class Item(models.Model):
name = models.CharField(max_length=500)
price = MoneyField(max_digits=19, decimal_places=2, default_currency="EUR",
…