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 8220653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:36:10+00:00 2026-06-07T13:36:10+00:00

I have a table in which I compare the two versions of a selected

  • 0

I have a table in which I compare the two versions of a selected Data.
This data actually has more than one version stored, so in my table I have column as:

    class ver_compare(tables.Table):
       new_db = tables.CheckBoxColumn()
       data = tables.Column()
       current_rev = tables.Column()
       next_rev = tables.Column()*

Now the last field I want as a each cell to have a drop down list of version to select from, something similar to choicefield.
Is there any approach to go along??

Thanks in advance!!

  • 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-06-07T13:36:12+00:00Added an answer on June 7, 2026 at 1:36 pm

    You can use TemplateColumn. Here you have the simplest mockup I can think of . Of course you need to change template to something more useful.

    countries = [
        {'name': 'Australia', 'population': 21, 'tz': 'UTC +10', 'visits': 1},
        {'name': 'Germany', 'population': 81, 'tz': 'UTC +1', 'visits': 2},
        {'name': 'Mexico', 'population': 107, 'tz': 'UTC -6', 'visits': 0},
    ]
    
    template = """
    <select>
    <option{% if record.visits = 0%} selected {% endif %}>0
    <option{% if record.visits = 1%} selected {% endif %}>1
    <option{% if record.visits = 2%} selected {% endif %}>2
    </select>
    """
    
    class CountryTable(tables.Table):
        name = tables.Column()
        population = tables.Column()
        tz = tables.Column(verbose_name='time zone')
        visits = tables.TemplateColumn(template)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have two spreadsheets. One of the spreadsheets has a table like this:
I have a table which stores the data related to posts in this format
I have a table called Task which has, among others, two columns: Date_due: a
I Have MySQL DB table tbl_users , which has two uid , name ,
I have to compare data between two table and check for any conflicts. Below
i have a table which has many fields but i want to get count
I have a table which i want to store all the outputs into one
I have one table which contains events and dates, and another which contains the
I have a table which contains TV Guide data. In a simplified form, the
I have a table which is currently displayed like this: Question OptionType What is

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.