Commit 9b9ced61 authored by Robert's avatar Robert
Browse files

Add basic Need model

parent a7a2a060
# Generated by Django 2.2.13 on 2020-06-14 11:17
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Need',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=255)),
('description', models.TextField()),
('creation_time', models.DateTimeField(auto_now_add=True)),
],
),
]
from django.db import models
# Create your models here.
class Need(models.Model):
title = models.CharField(max_length=255)
description = models.TextField()
creation_time = models.DateTimeField(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