<s> from django . db import models <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> from leonardo . module . media . fields import VectorField <EOL> from leonardo . module . media . models import Vector <EOL> from leonardo . module . web . models import Widget <EOL> from leonardo . module . web . widgets . forms import WidgetUpdateForm <EOL> class VectorForm ( WidgetUpdateForm ) : <EOL> source = VectorField ( ) <EOL> class VectorGraphicsWidget ( Widget ) : <EOL> feincms_item_editor_form = VectorForm <EOL> icon = "<STR_LIT>" <EOL> source = models . ForeignKey ( Vector , related_name = "<STR_LIT>" ) <EOL> class Meta : <EOL> abstract = True <EOL> verbose_name = _ ( '<STR_LIT>' ) <EOL> verbose_name_plural = _ ( '<STR_LIT>' ) </s>
