3 ms·
Can you provide more details how do you serialize django forms?
by iyn 11y ago
Can you provide more details how do you serialize django forms?
- n0us 11y agoI could have rolled my own solution but I forked this guy's repo (fork here: https://github.com/PendletonJones/remote_forms https://github.com/PendletonJones/remote_forms ) and updated it to work with Python3, I also stripped out some of the stuff in date related fields because the original guy was doing some weird stuff but it's a work in progress. Edit: basically just creating a dict out of the various attributes and then passing to json.dumps()