semvec/pypi-packages huggingface dataset:
django-admin-notifications 0.6.3
A simple app to allow apps to register notifications that can be displayed in the admin via a template tag.
License: BSD

django-admin-notifications
==========================

A simple app to allow apps to register notifications that can be displayed in the admin via a template tag


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

Add 'admin_notifications' to INSTALLED_APPS


Basic usage
-----------


Customize whichever of your admin templates you which to display the notifications thus.

load the template tags at the start of the template::

    {% load notification_tag %}

add the tag to your template. I customised the admin index template and placed the tag before the 'content-main' DIV like thus::

    {% block content %}
    <!-- here's the tag you add -->
    {% error_notifications %}
    <div id=''content-main">

in urls.py::

    import admin_notifications
    admin_notifications.autodiscover()

This looks in each app for a file called 'notifications.py and registers it if it exists.


Notifications files can contain as many functions as you like. Each one should return a string which can contain HTML and each one needs to be registered using admin_notifications.register

If you return an empty string then no notification is shown.

Notifications functions are called every time the admin template is rendered so avoid doing heavy calculations in the notification.

An example notifications.py might look like this::

    import admin_notifications
    from models import Url
    def notification():
        broken_links = Url.objects.filter(status=False).count()
        if broken_links:
            return "You have %s broken link%s.<br>You can view or fix them using the <a href='/admin/linkcheck/'>Link Manager</a>." % (broken_links, "s" if broken_links>1 else "")
        else:
            return ''

    admin_notifications.register(notification)
Flask-NoExtRef 0.1
Support for hiding external URL
License: BSD

Flask-NoExtRef
--------------

Provides support for hiding external URL for
sites based on Flask.

Links
`````

* `documentation <http://packages.python.org/Flask-NoExtRef>`_
* `development version
  <http://github.com/ekalinin/flask-noextref/zipball/master#egg=Flask-NoExtRef-dev>`_
django-arrange 0.0.3.3
Django app providing arbitrary, admin user specified, object arranging.
License: BSD

**DEPRECATED**

This app has been renamed django-order, see http://pypi.python.org/pypi/django-order

Authors
=======

Praekelt Foundation
-------------------

* Shaun Sephton

Changelog
=========

0.0.3.3
-------
#. Deprecation notice.

0.0.3
-----
#. Initial public release.
django-locking 0.3.0
Prevents users from doing concurrent editing in Django. Works out of the box in the admin interface, or you can integrate it with your own apps using a public API.
License: BSD
Keywords: locking mutex

What the heck is this?
----------------------

Django has seen great adoption in the content management sphere, especially among the newspaper crowd. One of the trickier things to get right, is to make sure that nobody steps on each others toes while editing and modifying existing content. Newspaper editors might not always be aware of what other editors are up to, and this goes double for distributed teams. When different people work on the same content, the one who saves last will win the day, while the other edits are overwritten.

`django-locking` provides a system that makes concurrent editing impossible, and informs users of what other users are working on and for how long that content will remain locked. Users can still read locked content, but cannot modify or save it.

Documentation
-------------

django-locking is fairly well-documented. Check out the docs!

License
-------

django-locking comes with a simplified BSD license, see the included LICENSE file for details.
django-revisions 0.3
Implements a revision trail for model instances in Django.
License: BSD
Keywords: revisions versioning history

What the heck is this?
----------------------

There are a lot of Django versioning apps out there, either in a state of decrepitude, or functional but with a colvoluted or suboptimal design. This app intends to become the de-facto standard to manage revisions in Django.

Recently crawled out of alpha and has a good test suite, but it's not quite production-grade. Just so y'know.