Commit 3d241361 authored by Rurik Serzo's avatar Rurik Serzo

made post model migrations for forum

parent 082a99be
No preview for this file type
# Generated by Django 4.0.3 on 2022-03-21 12:24
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Post',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('post_title', models.CharField(max_length=100)),
('post_body', models.TextField()),
('pub_date', models.DateField(auto_now_add=True)),
],
),
]
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