semvec/pypi-packages huggingface dataset:
Flask-Bootstraps 3.3.7.8
An extension that includes Bootstrap in your project, without any boilerplate code.
License: BSD

===============
Flask-Bootstrap
===============

.. image:: https://travis-ci.org/mbr/flask-bootstrap.png?branch=master
   :target: https://travis-ci.org/mbr/flask-bootstrap

Flask-Bootstrap packages `Bootstrap
<http://getbootstrap.com>`_ into an extension that mostly consists
of a blueprint named 'bootstrap'. It can also create links to serve Bootstrap
from a CDN and works with no boilerplate code in your application.

Usage
-----

Here is an example::

  from flask_bootstraps import Bootstrap

  [...]

  Bootstrap(app)

This makes some new templates available, containing blank pages that include all
bootstrap resources, and have predefined blocks where you can put your content.

As of version 3, Flask-Bootstrap has a `proper documentation
<http://pythonhosted.org /Flask-Bootstrap>`_, which you can check for more
details.
django-fast-gfk 0.1
Do Django generic foreign key lookups in one query
License: BSD

Django Fast Generic Foreign Keys
================================

.. figure:: https://travis-ci.org/praekelt/django-fast-gfk.svg?branch=develop
   :align: center
   :alt: Travis

   Travis

Overview
--------------

Generic foreign keys are incredibly powerful but can't be prefetched, leading
to a large number of SQL queries when accessing a generic foreign key field
while iterating over a queryset. This app provides a function that reduces the
number of SQL queries to ``1 + (number of content types included in the set of
generic foreign keys)``.

Installation
------------

1. Install or add ``django-fast-gfk`` to your Python path.

Usage
-----

The ``fetch`` function returns a generator with the generic foreign key prefetched. Parameter
``field`` is the name of the generic foreign key.::

    from fast_gfk import fetch

    fetch(Bar.objects.all(), field="target"))

Authors
=======

* Hedley Roos

Changelog
=========

0.1
---
#. Initial release.