Fixes for create new foreignkeyfield
This commit is contained in:
parent
bfa0684d78
commit
e6430cf15e
2 changed files with 55 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ class ForeignKeyField extends IntegerField{
|
|||
$this->size=$size;
|
||||
$this->form='SelectForm';
|
||||
$this->related_model=&$related_model;
|
||||
$this->container_model=$this->related_model->name_model;
|
||||
$this->container_model=$this->related_model->name;
|
||||
//Fields obtained from related_model if you make a query...
|
||||
$this->fields_related_model=array();
|
||||
//Representative field for related model...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue