I have a model called Access that links to two other models. class Access (models.Model): portfolio_id = models.ForeignKey(Portfolio)
after wracking my brain for days, I just hope someone can point me to the right approach. I have 4 Models: Page, Element, Style and Post.
This should be simple and I actually had it working yesterday. I have no idea what changed but it\'s now throwing an error.
I\'m using Django and have a form with two additional inline formsets. I want to validate that each formset contains at least one populated form. I\'ve written code such that this works but it only wo
I have the following in views.py to generate a page that shows an inline set of forms for a user\'s \"qualifications\"
I am new to django (until now, I used the symfony PHP Framework). My problem is this: I have a model Event and model Date. The Date has a foreign key to Event, so that an Event may (or should) have on
I need to clean a specific field in an inline formset, and I can\'t figure out how to do it. I\'ve tried with the formsets def clean(self) method but don\'t know where to save the cleaned va开发者_开
Thanks to the fantastic inline model formsets in django I have a pretty advanced form with 4 inline formsets. In the template I display each formset in a tab. Everything works really slick but I would
I have successfully used inline formsets to create a recipe input form that consists of a Recipe form (just a model form) and a RecipeIngredient formset.The models are:
When using inline formsets, how does one do paging? I\'m using django 1.1. The situation I\'m in, is that the user needs to be able to edit the related objects quickly and easily (which is why I thin