django-rest-framework
Here are 3,850 public repositories matching this topic...
在提交issue之前请
- 认真阅读文档 http://docs.onlinejudge.me/#/
- 搜索和查看历史issues
- 安全类问题请不要在 GitHub 上公布,请发送邮件到
admin@qduoj.com,根据漏洞危害程度发送红包感谢。
然后提交issue请写清楚下列事项
- 进行什么操作的时候遇到了什么问题,最好能有复现步骤
- 错误提示是什么,如果看不到错误提示,请去data文件夹查看相应log文件。大段的错误提示请包在代码块标记里面。
- 你尝试修复问题的操作
- 页面问题请写清浏览器版本,尽量有截图
-
Updated
May 7, 2020 - Python
In #434, it was reported that there were inline scripts that caused the docs to break when a CSP policy blocked those inline scripts. This was fixed in DRS 2.0.
In #637, another inline script was introduced, causing this to break again.
If using a custom authentication token model, the related_name cannot be auth_token or that will clash with the default token model related name and the django project will fail to start.
The RegisterView returns an authentication token using user.auth_token. Since the related name for a custom token model had to be changed, user.auth_token does not actually exist.
As a workaround a
-
Updated
Jun 5, 2020 - Jupyter Notebook
I'm new to rest_framework but I'm using drf in combination with redoc and this library and it seems to work fantastic.
I was wondering how can I generate custom sections of the documentation for objects that are commonly reused across all API calls. For example, I have a token object that is query/post parameter so I would like this to be explained topic in its own section.
With the help of
What component is this about ?
Documentation
What is happening ?
There's no documentation for EXTERNAL_AUTH: https://github.com/ansible-community/ara/blob/7a192ac1b7541465d9e799ab96e3db48861cdd16/ara/server/settings.py#L80
What should be happening ?
There should be docs about it an
The links to this library just show a page mentioning that the app had been moved to this project already.
-
Updated
Jun 6, 2020 - Python
-
Updated
Apr 14, 2020 - Python
Usage documentation and the example app are not consistent with each other. There are several classes used in the example that lack proper usage documentation and docstrings.
Documentation updates (or changes to use documented classes and deprecation of undocumented classes) are needed for the following:
- `re
-
Updated
Jun 7, 2020 - Python
-
Updated
May 25, 2020 - Python
-
Updated
Jun 5, 2020 - Python
-
Updated
Oct 7, 2017 - Python
First of all thanks for this package, it's very useful!
My models are structured like these:
class Info(TimeStampedModel):
identifier = models.UUIDField(_('info'), default=uuid.uuid4, primary_key=True, editable=False)
***class Alert(TimeStampedModel):
identifier = models.UUIDField(_('alert'), default=uuid.uuid4, primary_key=True, editable=False)
Update documentation
Not working for django=2.1.3 & djangorestframework==3.9.0
You need to change this:
- URLPattern and URLResolver on line:3, [line:26](https://github.com/manosim/django-rest-framework-docs/blob/94571d05617d24816ba8fdc5e836d17645a88319/rest_framework
-
Updated
Nov 2, 2019 - Python
Background
When I write Markdown documents, I generally work with Pandoc and pandoc-citeproc to include literature references from a BibTeX bibliography file.
Proposal
Benefits
Including citations in Pandoc syntax in the OSF Wiki would be useful:
- Scie
-
Updated
Apr 24, 2020
I'm also facing the same issue related to the EmbeddedDocumentSerializer and here the value for Embedded Document field is a model instance. It returns the error like:
code:
for key, value in validated_data.items():
AttributeError: 'Modelname' object has no attribute 'items'
Any suggestions please.
Package versions:
django == 3.0.4
djangorestframework == 3.11.0
mongoengine == 0.19.
-
Updated
May 13, 2020 - Python
-
Updated
Mar 16, 2020 - Python
-
Updated
Jun 5, 2020 - Python
-
Updated
May 12, 2020
Today, this github project is named "drf-extra-fields", which is good, since it is hosting fields for the Django REST Framework.
However, the PyPi package is django-extra-fields which creates confusion, and is incorrect since the package does not "add" fields for Django itself.
Maybe this was for SEO reasons (easier to find the package with the keyword django in it), but this can be resol
Improve this page
Add a description, image, and links to the django-rest-framework topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the django-rest-framework topic, visit your repo's landing page and select "manage topics."
ISSUE TYPE
When a playbook is not valid but its filename is specified using a rest api enpoint, (e.g using job_templates endpoint) the system returns "Playbook not found for project".
SUMMARY
Error "Playbook not found for project", suggest users that yaml file doesn't exist at specified playbook path. In this particular situation error message like "Playbook specified doesn't cont