I have a format that is setup to use an included table in the table containing the cookie table and one component The table is found and looks like this
class RecipeIngredient (models.Model): "Intermediate model between component and recipe. Recipe for many people '' 'volume = model.tegerfilled () measure = model.carfield (max_length = 200) component = model. Foreign (material) preparation = model. Chargefield (max_land = 100, empty = true, zero = true) recipe = model. I have created such formats
IngFormSet = inlineformset_factory (recipe, recipe pointer, formset = BaseIngFormSet, additional = 5) The BaseIngFormat was created to turn on the component field (many many in the ingredient table) for the component drop down menu, in the input box, so that I can later input jquery-autocomplete Can I use the box This will save some time from those users who have to scroll a very long list of materials to select from.
Have you considered using a widget that does not require recognition hacking later on. Maybe something like that? If that's not quite right then take a look at the fields.py file and their custom form fields.
Comments
Post a Comment