Commit 082a99be authored by Rurik Serzo's avatar Rurik Serzo

created post model for forum

parent 95094988
from django.db import models
# Create your models here.
class Post(models.Model):
post_title = models.CharField(max_length=100)
post_body = models.TextField()
pub_date = models.DateField(auto_now_add=True)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment