Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 837695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:11:00+00:00 2026-05-15T05:11:00+00:00

in order to dynamically create a form, i have to find the property types

  • 0

in order to dynamically create a form, i have to find the property types of a model’s properties at runtime.

appengine docs says that Model.properties() will return a dictionary of properties name and their class type. when i use this method in my code, only the name is returned and the classtype value is always empty.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:11:01+00:00Added an answer on May 15, 2026 at 5:11 am

    Model.kind()

    E.g., for a model like this:

    class LargeTextList(db.Model):
        large_text_list = db.ListProperty(item_type=db.Text)
    

    my_model_instance.kind() returns LargeTextList.


    Edit (thanks to OP for clarification):
    The property information you seek is there, but you’ll need to escape to see it, e.g. in your template:

    <p>{{ my_model_instance.properties|escape }}</p>
    

    This returns:

    {'large_text_list': <google.appengine.ext.db.ListProperty object at 0x24b1790>}
    

    Edit2:
    You can also call properties() on the class itself:

    my_model = LargeTextList
    

    and in the template as before (be sure to use the escape filter):

    <p>{{ model.properties|escape }}</p>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web form that is built dynamically with dozens/hundreds of form element
I'm trying to dynamically create a form using JQuery. In order to do this,
I have a PHP script masquerading as JS in order to dynamically include and
I have a layout which I am inflating in order to dynamically add TableRows
Say that a Rails app has a Car and an Order model. The Car
I have created an MVC application that dynamically routes actions and controllers based on
I'm trying to dynamically create a bunch of class properties, but each dynamic fget
I am trying to dynamically create a list of radio buttons that represents the
hi I have page which is action create for order. I want to be
I have created a form that displays values in plain displayfields. There is an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.