Skip to content

chenuin/django-formset-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Formset js

Build Status

Demo website with dynamic formset created by package django-formset-js

Original pacakge: https://pypi.org/project/django-formset-js/

Deploy

Please clone this project first.

$ git clone https://github.com/chenuin/django-formset-js.git

Step1. Install

In my case, django 2.1.2 is installed. In order to style our form eazily, package django-widget-tweaks helps. It's optional if you don't mind interface.

# Method1: manually install
$ pip install django
$ pip install django-formset-js
$ pip install django-widget-tweaks

# Method2: install by requirements.txt
$ pip install -r requirements.txt

Step2. set up static files and database

The project adopts default settings "SQLite" as database.

$ python manage.py collectstatic
$ python manage.py makemigrations myapp
$ python manage.py migrate

Step3. Run

It's time to show our achievement!

$ python manage.py runserver

Open http://localhost:8000 in the browser to check it work properly

About

Demo website with dynamic formset created by package django-formset-js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published