-
-
i am using this package with python rest famrwork api and i installed rest framework and its working fine and i installed this packge and added that to installed packages and here is what i changed in…
-
You should set `default_version` to a string and not an integer.
_Originally posted by @axnsan12 in https://github.com/axnsan12/drf-yasg/issues/375#issuecomment-501496456_
```python
from django…
-
#### Description
*I have a model class A which has parent field which referential for the same model . I want to create a factory for this but some error occured *
#### To Reproduce
*When writin…
-
I'm getting this error when trying to use a `SafeFileField`
Any idea what the problem might be?
Here's the field declaration:
`custom_stylesheet = SafeFileField(null=True, blank=True, upload_…
-
Some of our views that receive user input and interact with the db can fail on some invalid input, like when passing null characters (`%00`) (probably these types of requests are from some bots trying…
-
### 重现步骤
1、 vi archery/settings.py
修改mysql账号密码
2、 pip3 install -r requirements.txt -i https://mirrors.ustc.edu.cn/pypi/web/simple/
3、执行sql脚本 src/init_sql/v1.10.0.sql
在删除索引前,先删除外键
-- 删除外键…
-
Steps to reproduce:
- set `OSCARAPI_BLOCK_ADMIN_API_ACCESS = False` to unlock `/api/admin/`
- Create a category if you don't have one, I created `cat1` from django admin.
- Create a product class…
-
hi,运行如下命令尝试启动server时报错:
python3 manage.py runserver 0.0.0.0:8001
报错如下,网上查找好久没有解决办法,大神能否帮忙看下,感谢🙏:
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (mos…
-
Not sure if this is related to django-pyodbc-azure (but I think it is because I tested with MySQL also). So first I run migrations:
```
>>> python manage.py migrate …