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 details)

Uploaded Python 3

File details

Details for the file django_factbook-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: django_factbook-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for django_factbook-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77f362e3e1f2d91f8d7d9a9a1e0904856eb40a815d94b7709f3a3dd941dc8827
MD5 e503a0c584b3c3155a8ac3cc2504e18a
BLAKE2b-256 97d7563d9b724ce1653ff608bfbf52d1108428d105698eb52d4404502d1a557d

See more details on using hashes here.

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