Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

jbbarth/django-partial-forms-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Django Partial Forms Example

This repository demonstrates some pitfalls when using "partial" forms in Django, e.g. when some fields are conditionnally hidden depending on context.

Setup

NB: This repository has been tested with CPython 3.6.x. We're unsure of the compatibility with other python versions. You might want to use pyenv for switching between python versions.

Install dependencies:

# Optional:
# virtualenv -p python3 ~/.virtualenvs/django-partial-forms-example
# source ~/.virtualenvs/django-partial-forms-example/bin/activate
pip install -r requirements.txt

Start the server:

cd piracy/
python app.py runserver 127.1:8765

Open the app:

open http://localhost:8765

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published