Skip to content

Instantly share code, notes, and snippets.

View francisbrito's full-sized avatar
💭
💻 🌴 🇩🇴

Francis Brito francisbrito

💭
💻 🌴 🇩🇴
View GitHub Profile
@francisbrito
francisbrito / server.js
Last active September 10, 2015 21:36 — forked from Globik/server
Koa, mongoskin, monk, koa-ejs, koa-passport
var koa = require('koa');
var logger = require('koa-logger');
var path = require('path');
var Router = require('koa-router');
var bodyParser = require('koa-bodyparser');
var render = require('koa-ejs');

JankyBrowser

The only cross-platform browser that fits in a Gist!

One line install. Works on Linux, MacOSX and Windows.

Local Install

$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
from django.shortcuts import render
from django.contrib.formtools.wizard.views import SessionWizardView
from django.forms.formsets import formset_factory
from .forms import FormStep1, FormStep2, FormStep3, FormStep4, FormStep5, FormStep6, DetalleHotel, DetalleCustom
from .models import Registration
from apps.activities.models import EventActivity
FORMS = [
("step1", FormStep1),