Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Patch the old Form classes in to create Bootstrap-compatible forms

Project Description
# Effortless Bootstrap Web/Form Monkey Patch

Patch the old Form classes in to create Bootstrap-compatible forms

Just because hasn't been updated since 2012 doesn't mean you have to
settle for outdated HTML layouts. Scrap that 2001-era table-based form layout,
and use this module to create shiny, new Bootstrap 4-alpha forms!

## Example

To update your old webforms, just import and use the `patch()` function.

from effortless_bootstrap_web_form_monkey_patch import patch

Now you can continue to use your old forms normally.

Oh yeah, make sure you update the templates to use Bootstrap. The most
important piece to remember is to wrap all Bootstrap items with a `.container`

<div class="container">

And of course you need the CSS. If you don't want to host it locally, use their
CDN by adding this piece to the header.

<link rel="stylesheet" href="" integrity="2hfp1SzUoho7/TsGGGDaFdsuuDL0LX2hnUp6VkX3CUQ2K4K+xjboZdsXyp4oUHZj" crossorigin="anonymous">

For more information on using Bootstrap 4-alpha, check out .

## Installation

Eventually, this will be a full fledged package, and you will be able to do this.

pip install effortless_bootstrap_web_form_monkey_patch

## Inspiration

- Bootstrap 4 alpha form documentation at
- Runtime patching was learned at

## Author

Justin McGuire &mdash; <> &mdash; <a href=""></a> &mdash;

## License

MIT License
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
effortless_bootstrap_web_form_monkey_patch-0.1.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Sep 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting