Skip to content

Instantly share code, notes, and snippets.

View exportjson.js
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
// Changes:
// - Add object/array support by @flowski (comments on the original gist)
// - Added option for header normalization
// - Made object/array work for Export All Spreadsheets
// - Allow comment columns and sheets (By default: Name starts with _)
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
Belgabor /
Created Apr 20, 2016
Set up a Django + ReactJS project with Webpack manager

Guide on how to create and set up your Django project with webpack, npm and ReactJS :)

Hopefully this will answer "How do I setup or start a Django project?" I was trying to set up my own website, and there was a lot to read, learn and digest! Therefore, I put this together which is a collection of all the guides/blog posts/articles that I found the most useful. At the end of this, you will have your barebones Django app configured and ready to start building :)

NOTE: This guide was built using Django 1.9.5, NodeJS 4+ with NPM 3+

1. Setting up your dev environment