<reponame>IagoCarvalho/dojo-EPS
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models


# Create your models here.


class Post(models.Model):
    creation_date = models.DateTimeField(auto_now_add=True)
    title = models.CharField(max_length=100, blank=False, default='')
    content = models.TextField(blank=False, default='')
    author = models.CharField(blank=False, max_length=50, default='autor')

    class Meta:
        ordering = ('creation_date',)

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models


# Create your models here.


class Post(models.Model):
    creation_date = models.DateTimeField(auto_now_add=True)
    title = models.CharField(max_length=100, blank=False, default='')
    content = models.TextField(blank=False, default='')
    author = models.CharField(blank=False, max_length=50, default='autor')

    class Meta:
        ordering = ('creation_date',)
# -*- coding: utf-8 -*- # Create your models here.