| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | # coding: utf-8 |
||
| 25 | class IssuesCreateView(InitMixin, IssuesMixin, LoginRequiredMixin, |
||
| 26 | PaginateMixin, UserInstanceMixin, CreateView): |
||
| 27 | """ |
||
| 28 | to Create Issues |
||
| 29 | """ |
||
| 30 | template_name = "dj_diabetes/issues_form.html" |
||
| 31 | |||
| 32 | def get_initial(self): |
||
| 33 | return {'date_answer': arrow.utcnow().to( |
||
| 34 | settings.TIME_ZONE).format('YYYY-MM-DD')} |
||
| 35 | |||
| 50 |