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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:37:20+00:00 2026-06-16T06:37:20+00:00

i am trying django-selectable the ‘fruit’ example given in the docs here – https://django-selectable.readthedocs.org/en/version-0.6.2/quick-start.html#defining-a-lookup

  • 0

i am trying django-selectable the ‘fruit’ example given in the docs here –
https://django-selectable.readthedocs.org/en/version-0.6.2/quick-start.html#defining-a-lookup

getting LookupAlreadyRegistered error,there is a small note on this error,but i can’t
figure out how to solve this.i understand that it has something to do with import statements, i am using django-1.3

i will provide more info if needed , but i am just using the same code as given in the example.

kindly help

  • 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-16T06:37:21+00:00Added an answer on June 16, 2026 at 6:37 am

    Check the note in the link you’ve posted:

    You should only register your lookup once. Attempting to register the same lookup class more than once will lead to LookupAlreadyRegistered errors. A common problem related to the LookupAlreadyRegistered error is related to inconsistant import paths in your project. Prior to Django 1.4 the default manage.py allows for importing both with and without the project name (i.e. from myproject.myapp import lookups or from myapp import lookups). This leads to the lookup.py file being imported twice and the registration code executing twice. Thankfully this is no longer the default in Django 1.4. Keeping your import consistant to include the project name (when your app is included inside the project directory) will avoid these errors.

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

Sidebar

Related Questions

I'm trying to follow the documentation for django-selectable http://django-selectable.readthedocs.org/en/version-0.6.2/quick-start.html I have setup everything from
I am trying to implement django-paypal (dcramer's version) with IPN and although I get
I'm trying to use django-localeurl in one of my project, but following the docs
As part of trying out django CMS ( http://www.django-cms.org/ ), I'm struggling with getting
I'm trying to setup Django-Cities https://github.com/coderholic/django-cities by using the following command: sudo python manage.py
I'm trying to setup Django Haystack to search based on some pretty urls. Here
I come across several problems while trying django unittests library. Something strange happens: I
I'm trying to get Django to run through mod_wsgi on Apache2.22 but I'm getting
I'm trying to migrate django apps, and i have problem with one. When i
I was trying to setup django . I do have Django-1.1-alpha-1. I was trying

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.