Ejemplo n.º 1
0
 class Meta:
     model = Project
     exclude = []
     widgets = {
     'address': forms.TextInput(),
     # 'location': gform.OSMWidget(attrs={'map_width': 400, 'map_height': 400}),
     'location': forms.HiddenInput(),
     'logo': AdminImageWidget()
     }
Ejemplo n.º 2
0
 class Meta:
     model = Organization
     exclude = []
     # exclude = ['organizaton']
     widgets = {
         'location': forms.HiddenInput(),
         'address': forms.TextInput(),
         'logo': AdminImageWidget()
     }
Ejemplo n.º 3
0
 class Meta:
     model = Project
     exclude = []
     organization_filters = ['organization']
     widgets = {
         'address': forms.TextInput(),
         'location': forms.HiddenInput(),
         'logo': AdminImageWidget()
     }
Ejemplo n.º 4
0
 class Meta:
     model = Project
     exclude = ('organization', 'is_active', 'site_meta_attributes',)
     #organization_filters = ['organization']
     widgets = {
     'is_active': forms.HiddenInput(),
     'address': forms.TextInput(),
     'location': forms.HiddenInput(),
     'logo': AdminImageWidget()
     }
Ejemplo n.º 5
0
 class Meta:
     model = Organization
     exclude = ['is_active', 'owner', 'fax', 'additional_desc']
     # exclude = ['organizaton']
     widgets = {
         'is_active': forms.HiddenInput(),
         'location': forms.HiddenInput(),
         'address': forms.TextInput(),
         'logo': AdminImageWidget()
     }
Ejemplo n.º 6
0
 class Meta:
     model = Site
     exclude = ('project', 'is_survey', 'is_active', 'region',)
    
     # project_filters = ['project']
     widgets = {
     'address': forms.TextInput(),
     # 'location': gform.OSMWidget(attrs={'map_width': 400, 'map_height': 400}),
     # 'project' : forms.HiddenInput(),
     'location': forms.HiddenInput(),
     'logo': AdminImageWidget()
     }
Ejemplo n.º 7
0
 class Meta:
     model = Project
     exclude = ('organization', 'is_active', 'site_meta_attributes',
                'gsuit_meta', 'geo_layers', 'fax', 'additional_desc',
                'type', 'site_basic_info', 'site_featured_images',
                'gsuit_sync', 'gsuit_sync_end_of_month', 'gsuit_sync_date')
     #organization_filters = ['organization']
     widgets = {
         'is_active': forms.HiddenInput(),
         'address': forms.TextInput(),
         'location': forms.HiddenInput(),
         'logo': AdminImageWidget()
     }
Ejemplo n.º 8
0
    class Meta:
        model = Site
        exclude = ('project', 'is_survey', 'is_active', 'current_status',
                   'current_progress', 'additional_desc',
                   'site_featured_images', "site", "all_ma_ans")

        project_filters = ['type']
        widgets = {
            'address': forms.TextInput(),
            # 'location': gform.OSMWidget(attrs={'map_width': 400, 'map_height': 400}),
            # 'project' : forms.HiddenInput(),
            'location': forms.HiddenInput(),
            'logo': AdminImageWidget()
        }