Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
JSONField from django.contrib.postgres, but with a fallback to TextField
.. image:: https://img.shields.io/pypi/v/django-jsonfallback.svg :target: https://pypi.python.org/pypi/django-jsonfallback
.. image:: https://travis-ci.com/raphaelm/django-jsonfallback.svg?branch=master :target: https://travis-ci.com/raphaelm/django-jsonfallback
.. image:: https://codecov.io/gh/raphaelm/django-jsonfallback/branch/master/graph/badge.svg :target: https://codecov.io/gh/raphaelm/django-jsonfallback
This is an extension to django.contrib.postgres.fields.JSONField
, that works on other
databases than PostgreSQL.
This is tested against:
Just use our drop-in replacement for JSONField::
from django.db import models
from jsonfallback.fields import FallbackJSONField
class Book(models.Model):
data = FallbackJSONField()
def __str__(self):
return str(self.data['title'])
The code in this repository is published under the terms of the Apache License. See the LICENSE file for the complete license text.
This project is maintained by Raphael Michel mail@raphaelmichel.de. See the AUTHORS file for a list of all the awesome folks who contributed to this project.
.. _pretix: https://github.com/pretix/pretix .. _django: https://www.djangoproject.com/ .. _django-hvad: https://github.com/KristianOellegaard/django-hvad .. _django-modeltranslation: https://github.com/deschler/django-modeltranslation .. _django-parler: https://github.com/django-parler/django-parler .. _nece: https://pypi.python.org/pypi/nece .. _1NF: https://en.wikipedia.org/wiki/First_normal_form
FAQs
JSONField from django.contrib.postgres, but with a fallback to TextField
We found that django-jsonfallback demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.