from flask import render_template, Blueprint, url_for, \
    redirect, flash, request

from project.models import Category, Webinar

category_blueprint = Blueprint('category', __name__,)


@category_blueprint.route('/categories')
def index():
    categories = Category.query.all()
    return render_template('category/categories.html', categories=categories)

@@ -352,8 +352,222 @@
 gories)%0A
+%0A%0A@category_blueprint.route('/category/%3Ccategory_slug%3E')%0Adef show(category_slug):%0A    category = Category.query.filter_by(slug=category_slug)%0A    return render_template('category/category.html', category=category)%0A

Add basic view to see category show page