Hi Nick, On 07/25/2012 08:47 PM, Nick Mellor wrote:
Django 1.4, Satchmo re-installed last week, Eclipse 3.7.2 with pydev 2.5. Ubuntu 12.04.
I'm using the same versions.
(2) When I try to mark folder "shop" as a Django project in Eclipse (using instructions at http://vaboone.wordpress.com/2010/11/22/import-a-django-project-into-eclipse/) the Satchmo shop no longer works. I get the "Congratulations...get to work!" Django page as if there's a newly-created Django project with no code. Eclipse/Pydev have written a new project over "shop" and now pay attention only to their own, newly-created "shop/shop/settings.py" file. I want Eclipse to notice and use my existing "shop/settings.py" file
I think you are supposed to import a project instead of creating a new django project. Go to file > import then select the version control system you are using or just the folder where the source is. The project should show up on project explorer. Right click on the project name and enable as a pydev project and then again as a django project.
(4) But now Eclipse complains that there's no shop.settings resource. It's clearly missing shop/shop/settings.py which I've got rid of.
Right click the project name and go to properties and try some different "PyDev - Django" settings, maybe shop.settings? Try it even if it says that the module could not be found. If you are using virtualenv you will need to go to "Pydev - Interpreter/Grammar" in that same properties window and "click here to configure an interpreter not listed" to use the virtualenv site-packages python path.
I will be in the IRC channel today and may be able to answer more questions...
Good luck. Orion -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
