From: Joseph Spiros Date: Fri, 8 Jul 2011 22:13:18 +0000 (-0400) Subject: Merge branch 'embed-widget' of git://github.com/lapilofu/philo into develop X-Git-Tag: philo-0.9.1^2~4 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/6dc154ec98d58159b3e75447ce7b7fe5642acec4 Merge branch 'embed-widget' of git://github.com/lapilofu/philo into develop * 'embed-widget' of git://github.com/lapilofu/philo: Updated the grappelli styles to override the default styles. Updated styles to work in the original admin. Updated the javascript to overload the dismissAddAnotherPopup function as well. Made the embed widget javascript work by overloading the dismissRelatedLookupPopup function. Made the embed widget automatically generate URLs based on the ADMIN_URL global, which is provided by Grappelli. Unfortunately, this introduces a dependency on Grappelli. I'll return to this branch at a later date when my thinking is clearer. Initial work on a widget for TemplateFields that allows javascript selection of an object to embed. --- 6dc154ec98d58159b3e75447ce7b7fe5642acec4 diff --cc philo/models/fields/__init__.py index 7ab4326,0003575..575b3a4 --- a/philo/models/fields/__init__.py +++ b/philo/models/fields/__init__.py @@@ -7,8 -7,8 +7,9 @@@ from django.utils.text import capfirs from django.utils.translation import ugettext_lazy as _ from philo.forms.fields import JSONFormField +from philo.utils.registry import RegistryIterator from philo.validators import TemplateValidator, json_validator + from philo.forms.widgets import EmbedWidget #from philo.models.fields.entities import *