Skip to content

Commit

Permalink
[feat] 객체 정보를 title로 출력 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
soeunkk committed Mar 29, 2022
1 parent 89bcce6 commit 676ed7e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.0.3 on 2022-03-29 05:47
# Generated by Django 4.0.3 on 2022-03-29 05:56

from django.db import migrations, models

Expand Down
Binary file not shown.
3 changes: 3 additions & 0 deletions codelion/django/blogproject/blogapp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ class Blog(models.Model):
title = models.CharField(max_length=200)
body = models.TextField()
date = models.DateTimeField(auto_now_add=True)

def __str__(self):
return self.title
Binary file modified codelion/django/blogproject/db.sqlite3
Binary file not shown.

0 comments on commit 676ed7e

Please sign in to comment.