remove django-markdown and handle preview manually
This commit is contained in:
parent
4995c19560
commit
7e3173c7c0
32 changed files with 335 additions and 16478 deletions
|
@ -1,7 +1,6 @@
|
|||
from django import forms
|
||||
|
||||
from bootstrap3_datetime.widgets import DateTimePicker
|
||||
from django_markdown.widgets import MarkdownWidget
|
||||
|
||||
from tracker.models import *
|
||||
|
||||
|
@ -23,11 +22,11 @@ class ProjectForm(forms.ModelForm):
|
|||
|
||||
class IssueForm(forms.Form):
|
||||
title = forms.CharField(max_length=128)
|
||||
description = forms.CharField(widget=MarkdownWidget, required=False)
|
||||
description = forms.CharField(widget=forms.Textarea, required=False)
|
||||
|
||||
|
||||
class CommentForm(forms.Form):
|
||||
comment = forms.CharField(widget=MarkdownWidget)
|
||||
comment = forms.CharField(widget=forms.Textarea)
|
||||
|
||||
|
||||
class LabelForm(forms.ModelForm):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue