zapier / django-stalefields Goto Github PK
View Code? Open in Web Editor NEWNo longer updated: Automatic .update() instead of .save() for models.
License: BSD 3-Clause "New" or "Revised" License
No longer updated: Automatic .update() instead of .save() for models.
License: BSD 3-Clause "New" or "Revised" License
stale_copy()
uses copy.deepcopy()
for non-primitive objects, such as those returned by django-jsonfield
. This is quite slow, and could be sped up, as explored by e.g. http://technology.jana.com/2014/12/29/json-deep-copy/.
I didn't want to put together a pull request until the maintainers were happy with a proposal for speeding this up. So, would you be interested in a PR implementing the approach in the blog article above? (e.g. try round-tripping with ujson
, then json
, then copy.deepcopy()
?
Another alternative would be to special-case JSONField
fields to use a [u]json
round-trip, and leave everything else to use copy.deepcopy()
. I worry that this would be a bit too ugly though.
Hey guys,
The version published on PyPi (0.85) throws an Exception when installing the requirements in a new environment. I believe that 42d3bc7#diff-99ea59348ff4d82b0c18fa667516bc40L21 (just after 0.85) fixes that. Can you do a new release for this?
Thanks for your time and for a great package!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.