django-knowledge
django-knowledge copied to clipboard
added categories to question form
Categories were left out from the form to submit a new question, meaning that the only way to assign a question to a category was through the admin interface. ModelForm creates the same kind of interface that's in admin for assigning categories when given the categories field; so I added it for authenticated users and made it optional.