Skip to main content

A simple Django app to look up facts about the world.

Project description

FactBook is a simple Django app to store facts about the world. The initial focus was to have an app for keeping up-to-date country and currency information. Future plans extend to forex conversion, street adress look and measurement conversions.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “factbook” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'fact_book',
    ]
  2. Include the polls URLconf in your project urls.py like this:

    url(r'^fact_book/', include('fact_book.urls')),
  3. Run python manage.py migrate to create the fact_book models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you’ll need the Admin app enabled).

  5. Visit http://127.0.0.1:8000/fact_book/ to get an overview.

Development

  1. Clone this repository:

    git clone https://github.com/obitec/django-factbook
    cd django-factbook
  1. Create a python virtual environment and activate:

    python -m venv venv
    source venv/bin/activate
  2. Update pip and install development dependencies:

    pip install -U pip
    pip install -r tests/requirements.txt
  3. Build the app and documentation:

    invoke build --docs
  4. Create a pull request :-)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_factbook-0.4.0-py3-none-any.whl (21.7 kB view hashes)

Uploaded Python 3

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