semvec/pypi-packages huggingface dataset:
django-modify-history 0.1rc2
Automatically create history database when perticular model is saved.
License: BSD
Keywords: django history modify

``django-modify-history`` is a library to create object modification timeline using Django signal


Install
===========================================
::

	sudo pip install django-modify-history

or::

    sudo pip install git+git://github.com/lambdalisue/django-modify-history.git#egg=django-modify-history


How to Use
==========================================

1.  Append ``modify_history`` to ``INSTALLED_APPS``
2.  run ``manage.py syncdb``
3.  Add ``history_site.py`` to the app and write like below::

		from modify_history import site
		from modify_history.backends.basic import BasicHistoryBackend

		from models import Article

		class ArticleBackend(BasicHistoryBackend):
			pass
		site.register(Article, ArticleBackend)

4.  Use ``get_history_timelines`` template tags for get history list like below::

		{% extends 'base.html' %}
		{% load historytags %}

		{% block content %}
		<h2>History</h2>
		<ul>
			{% get_history_timelines as timelines %}
			{% for timeline in timelines %}
			<li>{{ timeline.get_message }} at {{ timeline.created_at|date }}</li>
			{% endfor %}
		</ul>
		{% endblock %}


Settings
=========================================
``HISTORY_ENABLE``
    Make history enable, to disable history app just set this ``False``

``HISTORY_USER_ATTRS``
    modify_history app find user from target object's attrs. this is the list of name
    of attrs. default is ``['updated_by', 'user', 'author', 'created_by']``
django-markitup-widget 0.1rc3
django-markitup-widget is Django's textarea like widget for using markItUp! on textarea
License: BSD
Keywords: django widget textarea markItUp!

``django-markitup-widget`` is a Django form widget library for using `markItUp! <http://markitup.jaysalvat.com/home/>`_ on Textarea


Install
===========================================
::

	sudo pip install django-markitup-widget

or::

    sudo pip install git+git://github.com/lambdalisue/django-markitup-widget.git#egg=django-markitup-widget

You may need to copy ``templates/markitup`` directory to your ``TEMPLATE_DIRS``

How to Use
==========================================

1.	First, you need to specified ``MARKITUP_PATH`` on ``settings.py``
	``MARKITUP_PATH`` is the URI of markItUp! directory like ``MARKITUP_PATH = r"javascript/markitup"``
2.	Use ``markitup.widgets.MarkItUpTextarea`` widgets for target Textarea like below::
	
		from django import forms
		from markitup.widgets import MarkItUpTextarea

		markitup = MarkItUpTextarea(
			set='default',
			style='simple',
		)
		document = forms.TextField(widget=markitup)

Settings
========================================

``MARKITUP_PATH``
    the URI for markItUp! directory (required)

``MARKITUP_DEFAULT_SET``
	the default set name (DEFAULT: default)

``MARKITUP_DEFAULT_SKIN``
	the default skin name (DEFAULT: simple)