Fixes in documentation

This commit is contained in:
absurdo 2023-11-04 21:15:44 +01:00
parent cfb70403c1
commit dc58175760
13 changed files with 119 additions and 113 deletions

View file

@ -139,7 +139,7 @@ class DoubleField(FloatField):
return 'DOUBLE NOT NULL DEFAULT "0"'
class CharField(PhangoField):
"""Simple alias for PhangoField for clarify that """
"""Simple alias for PhangoField"""
pass
@ -238,12 +238,12 @@ class ForeignKeyField(IntegerField):
"""
Args:
name (str): Name of field
related_table(WebModel): The table-model related with this foreign key
related_table (WebModel): The table-model related with this foreign key
size (int): The size of the new field in database. By default 11.
required (bool): Boolean for define if field is required or not
identifier_field (str): The Id field name from related table
named_field (str): The field from related table used for identify the row seleted from related table
select_field (list): A series of fields names from related
select_fields (list): A series of fields names from related
"""
super(ForeignKeyField, self).__init__(name, size, required)
@ -292,7 +292,6 @@ class BooleanField(IntegerField):
"""
Args:
name (str): Name of field
related_table(str): The table related with this foreign key
size (int): The size of the new field in database. By default 11.
"""