@@ -1,4 +1,4 @@
-Copyright (c) 2013 by the FlaskBB Team and contributors. See AUTHORS
+Copyright (c) 2014 by the FlaskBB Team and contributors. See AUTHORS
for more details.
Some rights reserved.
@@ -6,7 +6,7 @@
FlaskBB is a forum software written in python using the
microframework Flask.
- :copyright: (c) 2013 by the FlaskBB Team.
+ :copyright: (c) 2014 by the FlaskBB Team.
:license: BSD, see LICENSE for more details.
"""
@@ -5,7 +5,7 @@
It provides the forms that are needed for the admin views.
from flask.ext.wtf import Form
@@ -1,4 +1,13 @@
# -*- coding: utf-8 -*-
+"""
+ flaskbb.admin.views
+ ~~~~~~~~~~~~~~~~~~~
+
+ This module handles the admin views.
+ :license: BSD, see LICENSE for more details.
import sys
from flask import (Blueprint, render_template, current_app, request, redirect,
manages the app creation and configuration process
import os
It provides the forms that are needed for the auth views.
from datetime import datetime
This view provides user authentication, registration and a view for
resetting the password of a user if he has lost his password
from flask import (Blueprint, flash, redirect, render_template,
This is the default configuration for FlaskBB that every site should have.
You can override these configuration variables in another class.
@@ -4,7 +4,7 @@
This is the FlaskBB's development config.
from flaskbb.configs.default import DefaultConfig
This is how a production configuration can look like.
A place for our decorators.
from functools import wraps
This module adds the functionality to send emails
from flask import render_template
The extensions that are used by FlaskBB.
from flask.ext.sqlalchemy import SQLAlchemy
It provides the forms that are needed for the forum views.
A few helper functions that are used by the forum's module.
from collections import OrderedDict
It provides the models for the forum
from datetime import datetime, timedelta
This module handles the forum logic like creating and viewing
topics and posts.
import datetime
It provides the forms that are needed for the user views.
from flask.ext.login import current_user
This module provides the models for the user.
The user view handles the user profile
and the user settings from a signed in user.
A few helpers that are used by flaskbb
import time
A module that makes creating data more easily
This module holds the query classes that are used by flaskbb
from math import ceil
Additional types for SQLAlchemy
from sqlalchemy import types
Additional widgets for wtforms
@@ -7,7 +7,7 @@
You can also run the development server with it.
Just type `python manage.py` to see the full list of commands.
from flask import current_app