Skip to main content

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

How to use?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hbx-django-tastypie-mongoengine-0.4.6.tar.gz (46.1 kB view details)

Uploaded Source

File details

Details for the file hbx-django-tastypie-mongoengine-0.4.6.tar.gz.

File metadata

File hashes

Hashes for hbx-django-tastypie-mongoengine-0.4.6.tar.gz
Algorithm Hash digest
SHA256 a39aec8f4ea9f96c01a4e9312867c3580bc3cc9b929c7f87cf68d0d1dd9a7df9
MD5 a90b5055a1e156811ae685e38589b3db
BLAKE2b-256 541b2c233dedcc613610ef9485264590abd8fa85251c7ad612bd71fb5ebc4a34

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page