#-*-coding:utf-8-*-
from django import forms
from timeline.models import TimeLine

class TimeLineForm(forms.ModelForm):
    title = forms.CharField(max_length=128, help_text=u"标题:")
    summary = forms.CharField(max_length=4096, help_text=u"介绍:")
    ctime = forms.DateField(widget=forms.HiddenInput(), required=False)
    ptime = forms.DateField(widget=forms.HiddenInput(), required=False)
    privacy = forms.IntegerField(initial=1)

    class Meta:
        model = TimeLine

e428c23e77ca9843cb5cabe66f7f7516dd77cfeb
<mask token>

<mask token>


class TimeLineForm(forms.ModelForm):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        model = TimeLine

<mask token>


class TimeLineForm(forms.ModelForm):
    title = forms.CharField(max_length=128, help_text=u'标题:')
    summary = forms.CharField(max_length=4096, help_text=u'介绍:')
    ctime = forms.DateField(widget=forms.HiddenInput(), required=False)
    ptime = forms.DateField(widget=forms.HiddenInput(), required=False)
    privacy = forms.IntegerField(initial=1)


    class Meta:
        model = TimeLine

from django import forms
from timeline.models import TimeLine


class TimeLineForm(forms.ModelForm):
    title = forms.CharField(max_length=128, help_text=u'标题:')
    summary = forms.CharField(max_length=4096, help_text=u'介绍:')
    ctime = forms.DateField(widget=forms.HiddenInput(), required=False)
    ptime = forms.DateField(widget=forms.HiddenInput(), required=False)
    privacy = forms.IntegerField(initial=1)


    class Meta:
        model = TimeLine

#-*-coding:utf-8-*-
from django import forms
from timeline.models import TimeLine

class TimeLineForm(forms.ModelForm):
    title = forms.CharField(max_length=128, help_text=u"标题:")
    summary = forms.CharField(max_length=4096, help_text=u"介绍:")
    ctime = forms.DateField(widget=forms.HiddenInput(), required=False)
    ptime = forms.DateField(widget=forms.HiddenInput(), required=False)
    privacy = forms.IntegerField(initial=1)

    class Meta:
        model = TimeLine
