Markdownテスト
マークダウンで書けるようにしてみた
markdown
突然のマークダウン!!! Markdown
コード
#!/usr/bin/python
# Code goes here ...
from django.db import models
class Entry(models.Model):
DRAFT, PUBLISHED = ('D', 'P')
STATUS_CHOICES = ((DRAFT, 'draft'), (PUBLISHED, 'published'))
title = models.CharField(max_length=128)
content = models.TextField('content', help_text="use markdown format")
creation = models.DateTimeField('creation date', auto_now_add=True)
last_modified = models.DateTimeField('last modified', auto_now=True)
status = models.CharField("Status", max_length=1,choices=STATUS_CHOICES)
slug = models.SlugField(help_text='used as part of the URL',
unique_for_date="creation")
箇条書き
- abc
- def
番号
- Bird
- McHale
- Parish