From 833396607a4217779f7e1b944d5e56f6b236f052 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 31 Aug 2015 13:33:56 +0530 Subject: change to activate our comment app --- comments/admin.py | 5 ++ comments/templates/comments/comment_base.html | 69 +-------------------------- 2 files changed, 7 insertions(+), 67 deletions(-) create mode 100644 comments/admin.py diff --git a/comments/admin.py b/comments/admin.py new file mode 100644 index 0000000..6ac89ae --- /dev/null +++ b/comments/admin.py @@ -0,0 +1,5 @@ +from models import * +from django.contrib import admin + +admin.site.register(Comment) +admin.site.register(Reply) diff --git a/comments/templates/comments/comment_base.html b/comments/templates/comments/comment_base.html index 057d2f0..4d9885a 100644 --- a/comments/templates/comments/comment_base.html +++ b/comments/templates/comments/comment_base.html @@ -96,15 +96,12 @@
  • Books Under Progress
  • -
  • Internship Forms
  • + @@ -132,68 +129,6 @@
    {% block content %} - {% if up %} -
    -
    - × -

    Book has been uploaded successfully !

    -
    -
    -
    - {% endif %} - {% if login %} -
    -
    - × -

    Login Successful !

    -
    -
    -
    - {% endif %} - {% if logout %} -
    -
    - × -

    You have logged out successfully !

    -
    -
    -
    - {% endif %} - {% if update_book %} -
    -
    - × -

    Book has been updated successfully !

    -
    -
    -
    - {% endif %} - {% if not_found %} -
    -
    - × -

    It seems that currently there is no book that you can update ! Please submit one.

    -
    -
    -
    - {% endif %} -
    -

    Recent Submissions

    - {% for item in items %} - - {% endfor %} -
    -
    -
    - Browse All Books -
    -
    - {% endblock %}

    -- cgit