Created
August 17, 2015 17:09
-
-
Save mekhami/410d5a218d6cb792cc78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ProjectService(LoginRequiredMixin, SingleObjectMixin, FormView): | |
| template_name = 'buffet/project_detail.html' | |
| model = Project | |
| form_class = ServiceTypeForm | |
| def get_form_kwargs(self): | |
| kwargs = super(ProjectService, self).get_form_kwargs() | |
| kwargs['project'] = self.object | |
| return kwargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment