Commit 18653360 authored by RJC's avatar RJC

forum app views added

parent 3420daa4
from django.shortcuts import render from django.shortcuts import render
from django.views import generic
from .models import ForumPost, Reply
# Create your views here. # Create your views here.
class ForumPostListView(generic.ListView):
model = ForumPost
template_name = 'forum/forumpost_list.html'
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