/mybook

Simple django that demonstrate formset

Primary LanguageJavaScript

Django inline formset example

This is a simple django app that demonstrates how to use inline formset.

Mybook is a social networking app. In the app, you can edit your social profile. One section of the profile is about your family member. You can add as many family member as you like. For each family member, you need to specify family member's relationship with you.

Quick start

  1. (optional) create virtual env ex. mkvirtualenv mybook_env
  2. pip install -r requirements.txt
  3. (optional) source export_django_setting.py
  4. python manage.py migrate
  5. python manage.py runserver

Load Sample Data

$: python manage.py loaddata profile.json
$: python manage.py loaddata family_member.json

  • Created with Faker(), thank you for making this task simple

Useful references: