diff --git a/accounts/templates/accounts/home.html b/accounts/templates/accounts/home.html
deleted file mode 100644
index 4a05f45..0000000
--- a/accounts/templates/accounts/home.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{% if user.is_authenticated %}
-환영합니다. {{ user.username }} 님!
-Update
-Logout
-
-{% else %}
-Signup
-Login
-{% endif %}
\ No newline at end of file
diff --git a/accounts/templates/accounts/login.html b/accounts/templates/accounts/login.html
index f6d98b2..6347a9a 100644
--- a/accounts/templates/accounts/login.html
+++ b/accounts/templates/accounts/login.html
@@ -2,6 +2,7 @@
{% block content %}
+
@@ -31,5 +32,6 @@
Sign in
+
{% endblock %}
\ No newline at end of file
diff --git a/accounts/templates/accounts/signup.html b/accounts/templates/accounts/signup.html
index 61a57b4..e155799 100644
--- a/accounts/templates/accounts/signup.html
+++ b/accounts/templates/accounts/signup.html
@@ -1,3 +1,5 @@
+
+
{% extends 'base.html' %}
{% block content %}
@@ -5,39 +7,106 @@
-
-
-
+
+
+
-
- {% if error %}
- {{ error }}
-
-
- {% endif %}
+
+
Sign Up
+
+
+
+
+
+
+ {% if error %}
+ {{ error }}
+
+
+ {% endif %}
+
+
+
+
+
+
+
+
-
Sign Up!
+
+
-
-
-
-
-
-
+
diff --git a/board/models.py b/board/models.py
index e43dda7..9d9683c 100644
--- a/board/models.py
+++ b/board/models.py
@@ -10,8 +10,9 @@ class Board(models.Model) :
body = models.TextField()
product_price = models.PositiveIntegerField(blank=True,default=0)
order_price = models.PositiveIntegerField(default=0)
- state = models.CharField(max_length=20)
+ state = models.CharField(max_length=15)
userId = models.IntegerField()
+ userName = models.CharField(max_length=20)
image = models.ImageField(upload_to='images/', blank=True)
image1 = models.ImageField(upload_to='images/', blank=True)
image2 = models.ImageField(upload_to='images/', blank=True)
@@ -33,7 +34,7 @@ def __str__(self) :
class Comment(models.Model):
post = models.IntegerField()
userId = models.IntegerField()
- author = models.CharField(max_length=20)
+ author = models.CharField(max_length=15)
text = models.TextField()
price = models.IntegerField()
created_date = models.DateTimeField(auto_now_add=True)
diff --git a/board/templates/board_new.html b/board/templates/board_new.html
index 5259285..a11294d 100644
--- a/board/templates/board_new.html
+++ b/board/templates/board_new.html
@@ -38,17 +38,22 @@ 게시물 등록
본문을 작성해주세요!
-
+
+
+
-
+
@@ -56,7 +61,7 @@
게시물 등록
@@ -64,7 +69,7 @@
게시물 등록
@@ -72,7 +77,7 @@
게시물 등록
@@ -80,7 +85,7 @@
게시물 등록
@@ -98,8 +103,43 @@
게시물 등록
+
+
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/board/templates/test.html b/board/templates/test.html
index 8f8b8cd..7e6af23 100644
--- a/board/templates/test.html
+++ b/board/templates/test.html
@@ -31,8 +31,20 @@
{{ board.title }}
글목록
-
+
차트보기
+
+
+
+
+ 댓글
+
+