Skip to main content

Question and Answer forum, like StackOverflow, written in python and Django

Project description

Askbot will work alone or with other django apps (with some limitations, please see below), Django 2.2, PostgresQL(recommended) and MySQL >5.6

This version of Askbot supports only Django 2 and Python 3. Versions 0.10.x and earlier support Python 2.

To upgrade, or select version of Askbot working with earlier versions of Django,
please follow instructions at

Questions? Suggestions? Found a bug? -> please post at


  • standard Q&A functionalities including votes, reputation system, etc.
  • user levels: admin, moderator, regular, suspended, blocked
  • per-user inbox for responses & flagged items (for moderators)
  • email alerts - instant and delayed, optionally tag filtered
  • search by full text and a set of tags simultaneously
  • imports data from StackExchange, Jive, ZenDesk


The general steps are:

  • install the code
  • if there is no database yet - create one
  • create a new or configure existing django site for askbot
  • create/update the database tables

Methods to install code

  • pip install askbot
  • download .tar.gz file from the bottom of this page, then run python install
  • clone code from the github git clone git://, and then python develop

Create/configure django site

Either run command askbot-setup or merge contents of directory askbot/setup_templates in the source code into your project directory.

Create/update database tables

Back up your database if it is not blank, then two commands:

  • python migrate
  • python migrate

There are two apps to migrate - askbot and django_authopenid (a forked version of the original, included within askbot), so you can as well migrate them separately


There are some limitations that will be removed in the future. If any of these cause issues - please do not hesitate to contact

Askbot patches auth_user table. The migration script will automatically add missing columns, however it will not overwrite any existing columns. Please do back up your database before adding askbot to an existing site.

Included into askbot there are two forked apps: django_authopenid and livesettings. If you have these apps on your site, you may have trouble installing askbot.

User registration and login system is bundled with Askbot, but can be replaced with any other. It is quite good though, it allows logging in with password and many authentication service providers, including popular social services and recover account by email.

If there are any other collisions, askbot will simply fail to install, it will not damage your data.

Background Information

Askbot is based on CNPROG project by Mike Chen and Sailing Cai, project which was originally inspired by StackOverflow and Yahoo Answers.

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

askbot-0.12.2.tar.gz (13.5 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page