Disclaimer: I'm a total noob to Python, Django and Eclipse.

I'm trying to run OSQA on my localhost, in the hopes of maybe eventually contributing some code. Right now, following this question on Stack Overflow and my love of strong IDEs, I'm trying to get it to work inside Eclipse + PyDev.

I checked out HEAD (r769), created a new PyDev project from the source. Eclipse is telling me there's a slew of errors. The first one is "duplicate signature of get_absolute_url()".

The user.py, and specifically the User class, does seem to contain to identical methods by the name of get_absolute_url, with the same exact signature and body. Is this a real problem? Why is this so? Shouldn't one of the copies be removed?

asked 23 Feb '11, 06:00

ripper234's gravatar image

ripper234 ♦
3.2k60116123
accept rate: 19%

edited 23 Feb '11, 06:01


Its not a real problem since it will not affect anything, but it was a distraction (probably mine). Will be removed. As for other errors, most of them you can ignore, due to the dynamic nature of python some variables seem to "auto magically" appear out of nowhere, so the IDE complains. Same happens with Intellij, the IDE I use, although it never complained about the duplicate method. Thanks for noticing.

link

answered 23 Feb '11, 06:09

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

Ah, I love IntelliJ. What are you using for python/django integration? Will it work with the community edition of IntelliJ?

(23 Feb '11, 07:04) ripper234 ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×17

Asked: 23 Feb '11, 06:00

Seen: 649 times

Last updated: 23 Feb '11, 07:04

powered by OSQA