질문&답변
AttributeError: type object 'Post' has no attribute 'object' 에러
해결했슴다! 감사해요
- 좋아요수
- 0
- 댓글수
- 4
- 조회수
- 3382
질문&답변
해결했슴다! 감사해요
질문&답변
views.py 입니다 from django.shortcuts import render from .models import Post # Create your views here. def index ( request ): posts = Post.object. all () return render ( request , 'blog/index.html' , { 'posts' : posts, } )