ui/django-html_sanitizer — pull request #4 by lieryan (2012-08-21 01:45:24+00:00)
Title: Issue migrating when using model fields

Scenario:
1. create a model with SanitizedCharField or SanitizedTextField with keyword arguments (e.g. SanitizedCharField(allowed_tags=["p", "ul", "li"]))
2. create a ./manage.py schemamigration --auto
3. ./manage.py migrate

Currently, step 3 fails because SanitizedCharField and SanitizedTextField receives keyword arguments that south knows nothing about. The pull request fixes this by adding some introspection rules.