A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/umutbozkurt/django-rest-framework-mongoengine below:

umutbozkurt/django-rest-framework-mongoengine: Mongoengine support for Django Rest Framework

Django Rest Framework Mongoengine

The package provides mongoengine support for django-rest-framework.

For full documentation, usage and examples refer to DRF manuals.

The features and differences of this package are described in API documentation.

pip install django-rest-framework-mongoengine

It may contain non-working code. Before using it, run tests to ensure the code is working.

Include the packages in Django settings.
INSTALLED_APPS = (
    ...
    'rest_framework',
    'rest_framework_mongoengine',
    ...
)

Use corresponding classes from this package in place of original DRF stuff. Refer to API documentation.

If 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:

./runtests.py --fast

To run tests from separate file, class or method:

./runtests.py --fast test_name

Intended to match DRF API. The major and minor version number matches supported version of DRF. Note: this release is incompatible with all previous.

Releases 2.x were not well compatible with DRF and mongoengine. Current code is mostly refactored and reimplemented.

Releases 1.x were developed to work with DRF 2. This branch is no longer supported. Documentation available here

@qwiglydee @BurkovBA @Vayel @uoxiu

Feel free to mail me if you consider being a maintainer.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4