Django Form Created - (ManyToManyField with using through)
$10-30 USD
Pagado a la entrega
I am looking for someone with some Django form skills to help create a ModelForm. The site is running on Django 1.6.1.
Requirements:
- Users can add multiple items (Ingredients - ManyToManyField using through)
- The Form Broken up into smaller chunks (FormWizard - See example Image )
- Marked up for styling via Twitter Bootstrap
I would like to have a form created that will allow users to enter recipes. They would need to be able to select multiple ingredients from a manytomany field that is using though.
I would like the Form to be broken up into sections (ingredients) so it is not overwhelming to fill out. I know this can be done with FormWizard but you have a alternative way to get the same results that is fine.
I would also like to have the form fields split up into two columns (Inline). (See example image - Note how the Name field is on the left and Verison # is on the right.) I would like to be able to pass a few twitter bootstrap classes to the form to help style it. Example "row" and "md-col-6" to split it up and keep it scaleable for mobile devices.
Below is an brief example of the data structure. The Recipe model just has a handful more ManyToMany fields.
# Example [url removed, login to view]
----------------------------------
class Meat([url removed, login to view]):
name = [url removed, login to view](max_length=200)
company = [url removed, login to view](max_length = 200)
class Starch([url removed, login to view]):
name = [url removed, login to view](max_length=200)
company = [url removed, login to view](max_length=200)
class Recipe([url removed, login to view]):
name = [url removed, login to view](max_length=200)
version = [url removed, login to view](default=1.0)
description = [url removed, login to view](help_text='Please describe the finished dish')
meat = [url removed, login to view]('Meat' through='RecipeMeat')
meat_notes = [url removed, login to view]()
starch = [url removed, login to view]('Starch' through='RecipeStarch')
starch_notes = [url removed, login to view]()
class RecipeMeat([url removed, login to view]):
recipe = [url removed, login to view](Recipe)
meat = [url removed, login to view](Meat)
qty = [url removed, login to view]()
class RecipeStarch
recipe = [url removed, login to view](Recipe)
starch = [url removed, login to view](Starch)
qty = [url removed, login to view]()
---------------------------------------------------
Nº del proyecto: #5340478