MongoEngine support for django-tastypie. Fixed for Django 1.9+
Project description
This Django application provides MongoEngine support for django-tastypie.
This project is unmaintained. If anyone wants to step up and take over maintenance, please open an issue.
Django 1.9+ compatibility fixes
Fixed ‘self._meta.queryset.query.query_terms’ to return a set instead of dictionary as according to django-tastypie 0.13.3.
Replaced ‘SortedDict’ with ‘collections.OrderedDict’ since SortedDict is deprecated as of Django 1.7 & removed in Django 1.9.
In the method ‘get_fields’ of class ‘MongoEngineResource’, help_text of field is being retrieved which might not be present. Replaced with conditional retrieval.
Requirements
Python 2.7+
Django 1.9+
django-tastypie 0.13.3+
MongoEngine 0.10.6+
How to use?
See documentation: http://django-tastypie-mongoengine.readthedocs.org
See usage in tests: http://github.com/wlanslovenija/django-tastypie-mongoengine/tree/master/tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hbx-django-tastypie-mongoengine-0.4.6.tar.gz
.
File metadata
- Download URL: hbx-django-tastypie-mongoengine-0.4.6.tar.gz
- Upload date:
- Size: 46.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a39aec8f4ea9f96c01a4e9312867c3580bc3cc9b929c7f87cf68d0d1dd9a7df9 |
|
MD5 | a90b5055a1e156811ae685e38589b3db |
|
BLAKE2b-256 | 541b2c233dedcc613610ef9485264590abd8fa85251c7ad612bd71fb5ebc4a34 |