semvec/pypi-packages huggingface dataset:
django-postleware 1.0.1
A simple django middleware that ensures POSTs aren't cached by clients.
License: BSD

django-postleware
#################

A simple django middleware class which injects a `Cache-Control: no-cache`
header onto POST responses.

Installing
##########

1. `pip install django-postleware`
2. Add the middleware to `settings.py`


.. code-block:: python
 
    MIDDLEWARE_CLASSES = (
        'postleware.PostResponseCachebusterMiddleware',
        # ...
    )


Why?
####

Mobile Webkit (iOS4+ and Android stock bowser) has a bug that causes it to
cache similar POST requests when it clearly shouldn't. Rather than only caching
requests that have a specific `Cache-Control` header, it does the opposite and
caches the request unless the `no-cache` value is present in the POST response.

Not working for you?
####################

Let me know by opening an issue or pull request. This was enough for me, but I
have read around the webs that other devs needed to add additional headers to
the response before it would stop caching.
XRecord 0.1.8
An Introspecting Python ORM
License: BSD

XRecord is not an attempt to match the functionality of existing ORMs.
It's designed as a plug and play component to a well defined,
(foreign keys, primary keys, references) already existing database.

Features
========

  * full introspection, no model definition in Python required,
  * automatic foreign key mapping, both in the referenced and referencing objects,
  * automatic many-to-many relationship detection,
  * optional foreign-key references caching,
  * easily extend generated record classes to provide extra functionality for your objects,
  * easily define FK and MTM relationships, that were left out in the database definition,
  * object-mapping of any SQL statement,
  * seamless integration with Django,
  * may store meta-data to improve performance in production environments,
  * may be used without writing a single line of SQL,
  * multiple-column primary keys,
  * database connection objects designed for long-running applications,
  * complies with the python DBAPI specification

Docs
====

Find out more in the `documentation <http://xrecord.readthedocs.org/>`_.