在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:umutbozkurt/django-rest-framework-mongoengine开源软件地址:https://github.com/umutbozkurt/django-rest-framework-mongoengine开源编程语言:Python 100.0%开源软件介绍:Django Rest Framework MongoengineThe package provides mongoengine support for django-rest-framework. DocumentationFor full documentation, usage and examples refer to DRF manuals. The features and differences of this package are described in API documentation. Requirements
Installationfrom pypi
from github
do not use git clone!It may contain non-working code. Before using it, run tests to ensure the code is working. UsageInclude the packages in Django settings.INSTALLED_APPS = (
...
'rest_framework',
'rest_framework_mongoengine',
...
) Import modulesUse corresponding classes from this package in place of original DRF stuff. Refer to API documentation. TestingIf you discover something does not work on the DRFM side, the best way to ensure that and report an issue - is to write a test case, with minimal code that fails. You may use this template to create your case. If you have something (Django, DRF, mongoengine) at a version, not mentioned in release notes, you better run all the tests in your environment to ensure the DRFM is compatible with that version. For tests to work, you need pytest in your environment. To run all the tests:
To run tests from separate file, class or method:
ReleasesCurrent releaseIntended to match DRF API. The major and minor version number matches supported version of DRF. Note: this release is incompatible with all previous. Old releasesReleases 2.x were not well compatible with DRF and mongoengine. Current code is mostly refactored and reimplemented. Ancient releasesReleases 1.x were developed to work with Maintainers@qwiglydee @BurkovBA @Vayel @uoxiu Feel free to mail me if you consider being a maintainer. |
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论