# -*- coding: utf-8 -*-
from aldryn_client import forms

OBJECT_TYPES = (
    ('Article', _('Article')),
    ('Website', _('Website')),
)

class Form(forms.BaseForm):

    META_SITE_PROTOCOL = forms.CharField('META_SITE_PROTOCOL', required=True)
    META_SITE_DOMAIN = forms.CharField('META_SITE_DOMAIN', required=True)
    META_SITE_TYPE = forms.SelectField('META_SITE_TYPE', choices=OBJECT_TYPES)
    META_SITE_NAME = forms.CharField('META_SITE_NAME', required=False)
    META_IMAGE_URL = forms.CharField('META_IMAGE_URL', required=False)
    META_USE_OG_PROPERTIES = forms.CheckboxField('META_USE_OG_PROPERTIES', required=False)
    META_USE_TWITTER_PROPERTIES = forms.CheckboxField('META_USE_TWITTER_PROPERTIES', required=False)
    META_USE_GOOGLEPLUS_PROPERTIES = forms.CheckboxField('META_USE_GOOGLEPLUS_PROPERTIESS', required=False)
    META_USE_SITES = forms.CheckboxField('META_USE_SITES', required=False)

    def to_settings(self, data, settings):
        settings['META_SITE_PROTOCOL'] = data['META_SITE_PROTOCOL']
        settings['META_SITE_DOMAIN'] = data['META_SITE_DOMAIN']
        settings['META_SITE_TYPE'] = data['META_SITE_TYPE']
        settings['META_SITE_NAME'] = data['META_SITE_NAME']
        settings['META_INCLUDE_KEYWORDS'] = False
        settings['META_DEFAULT_KEYWORDS'] = False
        settings['META_IMAGE_URL'] = data['META_IMAGE_URL']
        settings['META_USE_OG_PROPERTIES'] = data['META_USE_OG_PROPERTIES']
        settings['META_USE_TWITTER_PROPERTIES'] = data['META_USE_TWITTER_PROPERTIES']
        settings['META_USE_GOOGLEPLUS_PROPERTIES'] = data['META_USE_GOOGLEPLUS_PROPERTIES']
        settings['META_USE_TITLE_TAG'] = False
        settings['META_USE_SITES'] = data['META_USE_SITES']
        return settings

@@ -243,82 +243,8 @@
 ue)%0A
-    META_SITE_DOMAIN = forms.CharField('META_SITE_DOMAIN', required=True)%0A
     
@@ -763,83 +763,8 @@
 lse)
-%0A    META_USE_SITES = forms.CheckboxField('META_USE_SITES', required=False)
 %0A%0A  
@@ -1558,30 +1558,12 @@
 %5D = 
-data%5B'META_USE_SITES'%5D
+True
 %0A   

Set META_USE_SITES to True