/dports/www/py-dj32-django-mptt/django-mptt-0.13.4/mptt/ |
H A D | forms.py | 180 parent_field = self.fields.get(opts.parent_attr) 193 parent = cleaned_data.get(opts.parent_attr) 196 if opts.parent_attr not in self._errors: 197 self._errors[opts.parent_attr] = self.error_class() 198 self._errors[opts.parent_attr].append(_("Invalid parent")) 199 del self.cleaned_data[opts.parent_attr]
|
H A D | models.py | 71 parent_attr = "parent" variable in MPTTOptions 133 field_names = {self.parent_attr} 222 filters = filters & Q(**{opts.parent_attr: parent}) 227 filters = filters & Q(**{opts.parent_attr: None}) 559 p = getattr(p, opts.parent_attr) 563 p = getattr(p, opts.parent_attr) 716 parent__pk=getattr(self, opts.parent_attr + "_id"), 961 parent = getattr(self, opts.parent_attr) 972 parent = getattr(self, opts.parent_attr) 1039 target=getattr(self, opts.parent_attr), [all …]
|
H A D | managers.py | 139 opts.parent_attr, 151 getattr(n, opts.parent_attr + "_id"), 349 def parent_attr(self): member in TreeManager 350 return self.model._mptt_meta.parent_attr 501 setattr(node, self.parent_attr, None) 520 setattr(node, self.parent_attr, None) 544 setattr(node, self.parent_attr, parent) 932 setattr(node, self.parent_attr, None) 1108 setattr(node, self.parent_attr, parent) 1247 setattr(node, self.parent_attr, parent) [all …]
|
H A D | utils.py | 181 "%s_id" % opts.parent_attr, 247 parent_attr = queryset[0]._mptt_meta.parent_attr 280 setattr(obj, parent_attr, _parent)
|
H A D | admin.py | 296 "%s_id" % mptt_opts.parent_attr,
|
/dports/www/py-django-mptt/django-mptt-0.13.4/mptt/ |
H A D | forms.py | 180 parent_field = self.fields.get(opts.parent_attr) 193 parent = cleaned_data.get(opts.parent_attr) 196 if opts.parent_attr not in self._errors: 197 self._errors[opts.parent_attr] = self.error_class() 198 self._errors[opts.parent_attr].append(_("Invalid parent")) 199 del self.cleaned_data[opts.parent_attr]
|
H A D | models.py | 71 parent_attr = "parent" variable in MPTTOptions 133 field_names = {self.parent_attr} 222 filters = filters & Q(**{opts.parent_attr: parent}) 227 filters = filters & Q(**{opts.parent_attr: None}) 559 p = getattr(p, opts.parent_attr) 563 p = getattr(p, opts.parent_attr) 716 parent__pk=getattr(self, opts.parent_attr + "_id"), 961 parent = getattr(self, opts.parent_attr) 972 parent = getattr(self, opts.parent_attr) 1039 target=getattr(self, opts.parent_attr), [all …]
|
H A D | managers.py | 139 opts.parent_attr, 151 getattr(n, opts.parent_attr + "_id"), 349 def parent_attr(self): member in TreeManager 350 return self.model._mptt_meta.parent_attr 501 setattr(node, self.parent_attr, None) 520 setattr(node, self.parent_attr, None) 544 setattr(node, self.parent_attr, parent) 932 setattr(node, self.parent_attr, None) 1108 setattr(node, self.parent_attr, parent) 1247 setattr(node, self.parent_attr, parent) [all …]
|
H A D | utils.py | 181 "%s_id" % opts.parent_attr, 247 parent_attr = queryset[0]._mptt_meta.parent_attr 280 setattr(obj, parent_attr, _parent)
|
H A D | admin.py | 296 "%s_id" % mptt_opts.parent_attr,
|
/dports/devel/liborcus/liborcus-0.16.1/src/liborcus/ |
H A D | gnumeric_sheet_context_test.cpp | 89 orcus::xml_attrs_t parent_attr; in test_column_width() local 90 context.start_element(ns, parent, parent_attr); in test_column_width()
|
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/visualize/utils/tree/ |
H A D | skltreeadapter.py | 110 parent_attr = self.attribute(parent) 112 parent_attr_cv = parent_attr.compute_value 132 attr_name = parent_attr.name
|
/dports/x11-toolkits/p5-Gtk2-Ex-FormFactory/Gtk2-Ex-FormFactory-0.67/lib/Gtk2/Ex/FormFactory/ |
H A D | Context.pm | 123 my ($parent_object, $parent_attr) = split(/\./, $aggregated_by); 125 unless $parent_attr; 127 $parent_proxy->get_attr_aggregate_href->{$parent_attr} = $name;
|
/dports/devel/py-python-gitlab/python-gitlab-2.10.1/gitlab/ |
H A D | base.py | 314 self_attr: getattr(self._parent, parent_attr, None) 315 for self_attr, parent_attr in self._from_parent_attrs.items()
|
/dports/devel/py-invoke/invoke-1.6.0/tests/ |
H A D | config.py | 472 parent_attr = 17 variable in Config_.basic_API.inherited_real_attrs_also_win_over_config_keys.MyConfigParent 478 assert c.parent_attr == 17 479 c.parent_attr = 33 482 assert c.parent_attr == 33 484 assert c.parent_attr == 33
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_db/src/ |
H A D | defs.rs | 57 .and_then(|meta| meta.parent_attr()); in from_token()
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/syntax/src/ast/ |
H A D | node_ext.rs | 731 pub fn parent_attr(&self) -> Option<ast::Attr> { in parent_attr() method
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_db/src/ |
H A D | defs.rs | 56 .and_then(|meta| meta.parent_attr()); in from_token()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/syntax/src/ast/ |
H A D | node_ext.rs | 731 pub fn parent_attr(&self) -> Option<ast::Attr> { in parent_attr() method
|
/dports/www/py-dj32-django-mptt/django-mptt-0.13.4/docs/ |
H A D | models.rst | 53 ``parent_attr``
|
/dports/www/py-django-mptt/django-mptt-0.13.4/docs/ |
H A D | models.rst | 53 ``parent_attr``
|