mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-10 23:50:12 +00:00
Typo fixes
This commit is contained in:
parent
9b29b05bd4
commit
7675ab47f2
7 changed files with 8 additions and 8 deletions
backend
requirements
src/baserow
api/user
contrib/database
|
@ -1,5 +1,5 @@
|
|||
flake8==3.7.9
|
||||
pytest-django>=3.5.0
|
||||
pytest-django==4.2.0
|
||||
pytest-env==0.6.2
|
||||
pytest-asyncio==0.14.0
|
||||
pytest-ordering==0.6
|
||||
|
|
|
@ -122,7 +122,7 @@ class VerifyJSONWebToken(RegularVerifyJSONWebToken):
|
|||
@extend_schema(
|
||||
tags=["User"],
|
||||
operation_id="token_verify",
|
||||
description="Verifies if the a token is still valid.",
|
||||
description="Verifies if the token is still valid.",
|
||||
responses={
|
||||
200: authenticate_user_schema,
|
||||
400: {"description": "The token is invalid or expired."},
|
||||
|
|
|
@ -178,7 +178,7 @@ class FieldView(APIView):
|
|||
operation_id="get_database_table_field",
|
||||
description=(
|
||||
"Returns the existing field if the authorized user has access to the "
|
||||
"related database's group. Depending on the type different properties"
|
||||
"related database's group. Depending on the type different properties "
|
||||
"could be returned."
|
||||
),
|
||||
responses={
|
||||
|
|
|
@ -439,7 +439,7 @@ class ViewFiltersView(APIView):
|
|||
"parameter if the authorized user has access to the related database's "
|
||||
"group. When the rows of a view are requested, for example via the "
|
||||
"`list_database_table_grid_view_rows` endpoint, then only the rows that "
|
||||
"apply to all the filters are going to be returned. A filters compares the "
|
||||
"apply to all the filters are going to be returned. A filter compares the "
|
||||
"value of a field to the value of a filter. It depends on the type how "
|
||||
"values are going to be compared."
|
||||
),
|
||||
|
|
|
@ -152,7 +152,7 @@ class FieldHandler:
|
|||
:raises CannotChangeFieldType: When the database server responds with an
|
||||
error while trying to change the field type. This should rarely happen
|
||||
because of the lenient schema editor, which replaces the value with null
|
||||
if it ould not be converted.
|
||||
if it could not be converted.
|
||||
:return: The updated field instance.
|
||||
:rtype: Field
|
||||
"""
|
||||
|
|
|
@ -210,7 +210,7 @@ class FieldType(
|
|||
"""
|
||||
Should return a random value that can be used as value for the field. This is
|
||||
used by the fill_table management command which will add an N amount of rows
|
||||
to the a table with random data.
|
||||
to the table with random data.
|
||||
|
||||
:param instance: The field instance for which to get the random value for.
|
||||
:type instance: Field
|
||||
|
|
|
@ -42,7 +42,7 @@ class TableHandler:
|
|||
try:
|
||||
table = base_queryset.select_related("database__group").get(id=table_id)
|
||||
except Table.DoesNotExist:
|
||||
raise TableDoesNotExist(f"The table with id {table_id} doe not exist.")
|
||||
raise TableDoesNotExist(f"The table with id {table_id} does not exist.")
|
||||
|
||||
return table
|
||||
|
||||
|
@ -201,7 +201,7 @@ class TableHandler:
|
|||
def fill_example_table_data(self, user, table):
|
||||
"""
|
||||
Fills the table with some initial example data. A new table is expected that
|
||||
already has the a primary field named 'name'.
|
||||
already has the primary field named 'name'.
|
||||
|
||||
:param user: The user on whose behalf the table is filled.
|
||||
:type: user: User
|
||||
|
|
Loading…
Add table
Reference in a new issue