Top "Field" questions

In computer science a field is a smaller piece of data from a larger collection.

How can I get access to a Django Model field verbose name dynamically?

I'd like to have access to one my model field verbose_name. I can get it by the field indice …

django get field
How to query lucene for empty fields?

I want in 2nd part of my query to have a list of result for while data not null. I …

lucene field
Odoo computed fields: works without store=True, doesn't work with store=True

I have a computed field in Odoo with a function. Everything works fine when I don't add the store argument. …

python field odoo
Sharepoint field has not been initialized in C#

I'm writing a code that will go through every list item in a sharepoint list and look for an empty …

c# list sharepoint field csom
How to stretch a text field relative to data width in Jasper Reports

I have a text field followed by a static text field and I am trying to do 2 things with it: …

jasper-reports field stretch
SQL: create new field, populate with query results

I have two tables: tbl_listings, with the column: prop_id; and another table: tbl_bookings, with the columns: prop_…

sql field populate
Convert static variables from Java to Kotlin

I'm trying to convert the following code to Kotlin AND still have one of the classes (Foo) used by Java. …

properties static field kotlin
How to use attrs attribute on Odoo to combine multiple attributes (invisible, readonly or required) into a single one?

In Odoo when you have an xpath you can add "attrs" to a field like required or invisible, when a …

xml attributes field odoo odoo-view
How to remove a field from the parent Form in a subclass?

class LoginForm(forms.Form): nickname = forms.CharField(max_length=100) username = forms.CharField(max_length=100) password = forms.CharField(widget=forms.PasswordInput) …

python django forms inheritance field
mysql: how to truncate the length of a field

Alter table merry_parents change mobile mobile char(10). When I do the above I'm getting error: #1265 - Data truncated for …

mysql field truncate alter