def get_context_data(self, **kwargs):
context = super(DocumentAddFormView, self).get_context_data(**kwargs)<EOL>self.set_mongoadmin()<EOL>context = self.set_permissions_in_context(context)<EOL>self.document_type = getattr(self.models, self.document_name)<EOL>context['<STR_LIT>'] = self.app_label<EOL>context['<STR_LIT>'] = self.document_name<EOL>context['<STR_LIT>'] = reverse('<STR_LIT>', args=[self.kwargs.get('<STR_LIT>'),<EOL>self.kwargs.get('<STR_LIT>')])<EOL>return context<EOL>
TODO - possibly inherit this from DocumentEditFormView. This is same thing minus:
            self.ident = self.kwargs.get('id')
            self.document = self.document_type.objects.get(pk=self.ident)