See3D/views.py
def gallery():
    """Render a scrollable gallery of all currently active requests."""
    if current_user.is_creator is True:
        return render_template('gallery.html', title="Gallery", requests=Request.query.all())

    else:
        return redirect(url_for('profile'))
Render a scrollable gallery of all currently active requests.
Render a scrollable gallery of all currently active requests.
Render a scrollable gallery of all currently active requests .
def gallery():
    if current_user.is_creator is True:
        return render_template('gallery.html', title="Gallery", requests=Request.query.all())
    else:
        return redirect(url_for('profile'))
def gallery ( ) : if current_user . is_creator is True : return render_template ( 'gallery.html' , title = "Gallery" , requests = Request . query . all ( ) ) else : return redirect ( url_for ( 'profile' ) )
Render a scrollable gallery of all currently active requests.
Render a scrollable gallery of all currently active requests .
"""Render a scrollable gallery of all currently active requests."""