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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:42:36+00:00 2026-05-20T12:42:36+00:00

Hi I upgrded from django 0.96 to 1.2 and know no other difference between

  • 0

Hi I upgrded from django 0.96 to 1.2 and know no other difference between “before” and “after” html options won’t display anymore. I know this info is coming a little short, but maybe you can know what happened?
Before:
enter image description here

After

enter image description here

Some code that seems exactly the same except that djagno dsipatcher was upgraded, is:

<div id="searchmain">{% include "form.html" %}</div>

And form.html

{% load i18n %}
<form action="/li" id="cse-search-box"><div><input value='{{q}}' type="text" id="searchtext" name="q" size="31" />
<input type="hidden" value='{{t}}' name="t" />  
{% include "../market/categories.html" %}
{% ifequal logo "montao" %}
<select name="l" id="search_area" class="search_area"><option value=''>{% trans "Entire" %}</option> 
<!--
<option id='heading2'>{% trans "name" %}</option> -->
            <option id='heading2'>São Paulo</option>             
                        <option id='heading2'>Rio de Janeiro</option> 
                        <option id='heading2'>Espírito Santo</option> 
                      <option id='heading2'>Minas Gerais</option> 
                        <option id='heading2'>Paraná</option>  
                          <option id='heading2'>Santa Catarina</option> 
                        <option id='heading2'>Rio Grande do Sul</option>                        
                        <option id='heading2'>Bahia</option> 
                        <option id='heading2'>Pernambuco</option>                        
                        <option id='heading2'>Ceará</option> 
                        <option id='heading2'>Rio Grande do Norte</option> 
                      <option id='heading2'>Amazonas</option> 
                        <option id='heading2'>Distrito Federal</option> 
                   <option id='heading2'>Pará</option> 
                        <option id='heading2'>Maranhão</option> 
                           <option id='heading2'>Goiás</option> 
                        <option id='heading2'>Paraíba</option> 
                       <option id='heading2'>Alagoas</option> 
                        <option id='heading2'>Piauí</option>                    
                        <option id='heading2'>Mato Grosso</option> 
                         <option id='heading2'>Mato Grosso do Sul</option>  
                        <option id='heading2'>Sergipe</option> 
                          <option id='heading2'>Rondônia</option> 
                          <option id='heading2'>Tocantins</option> 
                        <option id='heading2'>Acre</option> 
                        <option id='heading2'>Amapá</option> 
                        <option id='heading2'>Roraima</option> 
</select> {% endifequal %} 
<!-- 
<input type="hidden" id="lat" name="lat" size="35" maxlength="50" value="{{plat}}" />
<input type="hidden" id="lon" name="lon" size="35" maxlength="50" value="{{plon}}" />
-->
<input type="submit" id="searchbutton" value="{% trans "Go" %}" />
</div></form>

Updated to this and still same problem:

{% load i18n %}
<form action="/li" id="cse-search-box"><div><input value='{{q}}' type="text" id="searchtext" name="q" size="31" />
<input type="hidden" value='{{t}}' name="t" />  
{% include "../market/categories.html" %}
{% ifequal logo "montao" %}
<select name="l" id="search_area" class="search_area"><option value=''>{% trans "Entire" %}</option> 
<!--
<option >{% trans "name" %}</option> -->
             <option >São Paulo</option>             
                         <option >Rio de Janeiro</option> 
                         <option >Espírito Santo</option> 
                       <option >Minas Gerais</option> 
                         <option >Paraná</option>  
                           <option >Santa Catarina</option> 
                         <option >Rio Grande do Sul</option>                        
                         <option >Bahia</option> 
                         <option >Pernambuco</option>                        
                         <option >Ceará</option> 
                         <option >Rio Grande do Norte</option> 
                       <option >Amazonas</option> 
                         <option >Distrito Federal</option> 
                    <option >Pará</option> 
                         <option >Maranhão</option> 
                            <option >Goiás</option> 
                         <option >Paraíba</option> 
                        <option >Alagoas</option> 
                         <option >Piauí</option>                    
                         <option >Mato Grosso</option> 
                          <option >Mato Grosso do Sul</option>  
                         <option >Sergipe</option> 
                           <option >Rondônia</option> 
                           <option >Tocantins</option> 
                         <option >Acre</option> 
                         <option >Amapá</option> 
                         <option >Roraima</option> 
</select> {% endifequal %} 
<!-- 
<input type="hidden" id="lat" name="lat" size="35" maxlength="50" value="{{plat}}" />
<input type="hidden" id="lon" name="lon" size="35" maxlength="50" value="{{plon}}" />
-->
<input type="submit" id="searchbutton" value="{% trans "Go" %}" />
</div></form>

I’ll try whatever you can propose! Thanks. BTW Here is the expected output that I could paste in with no dynamics:

<div id="searchmain"> <form action="/li" id="cse-search-box"><div><input value='' type="text" id="searchtext" name="q" size="31" /> <input type="hidden" value='' name="t" /> <select name="cg" id="cat" class="search_category"> <option value='' >All</option> <option value='' style='background-color:#dcdcc3' id='cat1' >-- VEHICLES --</option> <option value='2'   id='cat2' >Cars</option> <option value='3'    id='cat3' >Motorcycles</option> <option value='4'    id='cat4' >Accessories &amp; Parts</option> <!--<option value='5'    id='cat5' >Other vehicles</option>--> <option value=''    style='background-color:#dcdcc3' id='cat6' >-- PROPERTIES --</option> <option value='7'    id='cat7' >Apartments</option> <option value='8'    id='cat8' >Houses</option> <option value='9'    id='cat9' >Commercial properties</option> <option value='10'   id='cat10' >Land</option> <option value='' style='background-color:#dcdcc3' id='cat11' >-- ELECTRONICS --</option> <option value='12'    id='cat12' >Mobile phones &amp; Gadgets</option> <option value='13'   id='cat13' >TV/Audio/Video/Cameras</option> <option value='14'   id='cat14' >Computers</option> <option value='' style='background-color:#dcdcc3' id='cat15' >-- HOME &amp; PERSONAL ITEMS --</option> <option value='16'  id='cat16' >Home &amp; Garden</option> <option value='17'    id='cat17' >Clothes/Watches/Accessories</option> <option value='18'   id='cat18' >For Children</option> <option value='' style='background-color:#dcdcc3' id='cat19' >-- LEISURE/SPORTS/HOBBIES --</option> <option value='20'    id='cat20' >Sports &amp; Outdoors</option> <option value='21'     id='cat21' >Hobby &amp; Collectables</option> <option value='22'   id='cat22' >Music/Movies/Books</option> <option value='23'   id='cat23' >Pets</option> <option value='' style='background-color:#dcdcc3'     id='cat24' >-- BUSINESS TO BUSINESS --</option> <option value='25'    id='cat25' >Professional/Office equipment</option> <option value='26'    id='cat26' >Business for sale</option> <option value='' style='background-color:#dcdcc3' id='cat27' >-- JOBS &amp; SERVICES --</option> <option value='28'   id='cat28' >Jobs</option> <option value='29'    id='cat29' >Services</option> <option value='30'    id='cat30' >Events &amp; Catering</option> <option value='' style='background-color:#dcdcc3' >--</option> <option value='31'    id='cat31' >Others</option> </select> <!-- 
<input type="hidden" id="lat" name="lat" size="35" maxlength="50" value="" /> <input type="hidden" id="lon" name="lon" size="35" maxlength="50" value="" />
--> <input type="submit" id="searchbutton" value="Go" /> </div></form> </div>
  • 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-20T12:42:37+00:00Added an answer on May 20, 2026 at 12:42 pm

    I don’t know if it’s realted to your issue, but you can’t have 2 elements with the same id attribute. id has to be unique! If you need to give 2 elements the same style, that’s what class attribute is made for.

    And yeah, it’s possible that it’s causing the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I upgraded from SQl server 05 to 08 and had a few issues. After
I've just upgraded from MRI-1.8.7 to MRI-1.9.1 and heard about this lighthouse ticket which
I have upgraded by iphone to 4.1 from 3.1.3 version. I have also upgrded
I upgraded from ninject 2.0 to 2.2 and nothing works anymore. When I use
Months after my company has upgraded from 4.6c to ECC6.0, our team of programmers
I just upgraded from django 1.2.4 to 1.3. I'm using nginx in conjunction with
I upgraded to django 1.2 and I now get this error message which looks
After having something upgraded from underneath me (unfortunately, I'm not sure what), validation errors
I recently upgraded from Hudson 1.385 to Jenins 1.433 and something strange happened after
I'm trying to publish a Rails 3.1 (upgraded from 3.0) application. After submitting the

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.