Re: PyDev 3.4.1 & Django 1.7: undefined variable from Import

2014-05-12 Thread Bill Freeman
Also, I don't think that it's the += that he's worried about. What he's saying is that you shouldn't expect every sub-directory of BASE to always be an app, and/or that the order of INSTALLED_APPS can be important, and/or that your settings.py file should document what you are using. On Mon, May

Re: PyDev 3.4.1 & Django 1.7: undefined variable from Import

2014-05-12 Thread Bill Freeman
But the code works, right? This is a PyDev issue, not a Django issue. (If you can only use code that your IDE understands, that leaves out a lot of interesting programs.) On Mon, May 12, 2014 at 4:04 AM, Florian Auer wrote: > Hi folks > > I'am new to django and try to follow the tutorial to d

Re: PyDev Django Debugging

2010-12-17 Thread Tim Sawyer
Hi, You need to get it working in the dev server first, as you'll need that to debug with (I think). You need to modify the pythonpath so it can see your code. Modify manage.py in (1) and try running the dev server with: python manage.py runserver. You'll need something like this at the t

Re: PyDev Django Debugging

2010-12-17 Thread MLG
Hi Tim, Thank you for your prompt response. The "runserver --noreload" is in place as well in the arguments tab. I have already set this option. The truth is that i haven't tried to run the application in the development server but directly in the apache. The structure is as follow: 1)web/sites/

Re: PyDev Django Debugging

2010-12-17 Thread Tim Sawyer
Here's my instructions for debugging in PyDev, hope that helps: http://drumcoder.co.uk/blog/2010/apr/21/debugging-django-pydev/ This is done using the development server, not Apache, from within Eclipse. Does your app work in the development server? Tim. > Hi, > > I am new to Django trying to

Re: PyDev create new project wizard creates two folders in Aptana Studio 3?

2010-10-05 Thread Brandon Taylor
Hi Guys, Yeah, I've just been creating projects by hand instead of using the new PyDev Django actions. Fabio said it's because the project you create has to be added to the Python Path, and it can't add a folder that is above the path for some reason. Annoying. Cheers, Brandon On Oct 5, 3:35 pm,

Re: PyDev create new project wizard creates two folders in Aptana Studio 3?

2010-10-05 Thread Sandro Dutra
When you try to create a project, Aptana duplicates the root directory automatically. A issue... To correct this, you only have to observe the path when you're creating the Django project. 2010/10/2 payala > > Check if you are in the python perspective > > On 1 oct, 19:34, Brandon Taylor wrote

Re: PyDev create new project wizard creates two folders in Aptana Studio 3?

2010-10-02 Thread payala
Check if you are in the python perspective On 1 oct, 19:34, Brandon Taylor wrote: > Hi everyone, > > I'm used to organizing my Django projects in one folder for the > project and then sub folders for app modules... > > /my_project >     -__init__.py >     -settings.py >     /some_app > > and so

Re: Pydev + Django + Ubuntu 9.10

2009-12-15 Thread paul.dorman
I can confirm that removing the Python interpreter and re-adding solved this issue for me. I'm using Karmic packages for Eclipse and for Django. On Dec 8, 8:32 am, Brian McKeever wrote: > I'm using django from the repositories. > Installed this > way:http://docs.djangoproject.com/en/dev/topics/i

Re: Pydev + Django + Ubuntu 9.10

2009-12-07 Thread Brian McKeever
I'm using django from the repositories. Installed this way: http://docs.djangoproject.com/en/dev/topics/install/#installing-development-version I configured my interpretor in eclipse by doing this: "Now, on to re-configure the pydev interpreter to add those new paths... I'm kind of lazy, so, usual

Re: Pydev + Django + Ubuntu 9.10

2009-12-07 Thread turkan
Hello Brian. Strange, I am also using Eclipse downloaded from eclipse.org. Did you add any special folders to the PYTHONPATH? Are you using django from the Ubuntu repositories? On Dec 7, 6:06 am, Brian McKeever wrote: > I was having the same trouble you are when I installed eclipse from > the re

Re: Pydev + Django + Ubuntu 9.10

2009-12-07 Thread Info Cascade
Hi, Turkan, Sorry -- the link is: here. Hope that helps. I had to use Postgres 8.3 instead of 8.4, but

Re: Pydev + Django + Ubuntu 9.10

2009-12-06 Thread Brian McKeever
I was having the same trouble you are when I installed eclipse from the repository. I fixed it by downloading it again from the website http://www.eclipse.org/downloads/ (Eclipse IDE for C/C++ Developers (79 MB) is the one I picked specifically). On Dec 6, 2:45 am, turkan wrote: > Hello Liam, >

Re: Pydev + Django + Ubuntu 9.10

2009-12-06 Thread turkan
Hello Liam, I am sorry ... I can't access your provided link. Even after registering there, it says "You are not authorized to view this workspace.". I am also not sure why you suggest me Posgresql/PostGIS. I don't have any problems with setting up the database, just with setting up Pydev/ Eclipse

Re: Pydev + Django + Ubuntu 9.10

2009-12-05 Thread Info Cascade
Turkan, Perhaps this will help. I just have done this (PostGIS/Eclipse/Pydev/Django on Ubuntu 9.10) and it's working great! After having problems because I had installed Postgres 8.4, I found the script below, on the net somewhere. Modify, as appropriate, if you don't need GIS. You may also want

Re: PyDev users: how do you manage tabs?

2009-07-02 Thread Chris Lawlor
Wayne I can't thank you enough!! As the author notes, the posted code is not cross-platform. I incorporated the fix recommended in the comments and posted here for anyone else that might want it: http://dpaste.com/hold/62468/ works fine on my windows machine, haven't tested on my Linux dev box y

Re: PyDev users: how do you manage tabs?

2009-07-01 Thread AmanKow
> I have the same problem in Komodo Edit - although I the whole filename > does show up in the window title I never think to look there. Anyway, > I partially solved it by adding a comment at the top of the file for > what app the file is for, so I'll see what I'm working on right there > in the e

Re: PyDev users: how do you manage tabs?

2009-07-01 Thread Chris Lawlor
I have the same problem in Komodo Edit - although I the whole filename does show up in the window title I never think to look there. Anyway, I partially solved it by adding a comment at the top of the file for what app the file is for, so I'll see what I'm working on right there in the editor wind

Re: PyDev users: how do you manage tabs?

2009-07-01 Thread Steve Howell
On Jun 30, 10:42 pm, Rex wrote: > Kind of a petty question: > > I've been using PyDev to do my Django work and find it to be great. > However, my only gripe is that it's hard to keep track of tabs, since > they display only the (non-qualified) file name, which is a problem > given Django's very

Re: PyDev users: how do you manage tabs?

2009-07-01 Thread kRON
One thing you can do is turn on the option 'Link with editor' on your package\project explorer view. You have the *down arrow* ['View Menu' tooltip] and an option at the bottom--'Link with Editor'. That way, any active file in the editor will highlight the file in your view, and you can keep trac

Re: PyDev users: how do you manage tabs?

2009-06-30 Thread Xavier Ordoquy
> For those of you who use PyDev, have you found this to be an issue as > well? Are there any solutions, like a plugin that adds the parent > directory name to the tab? Hello, You get the full name within the eclipse window's name - the one from the window manager. I usually have only one appli

Re: PyDev users: how do you manage tabs?

2009-06-30 Thread Kenneth Gonsalves
On Wednesday 01 July 2009 11:12:05 Rex wrote: > I've been using PyDev to do my Django work and find it to be great. > However, my only gripe is that it's hard to keep track of tabs, since > they display only the (non-qualified) file name, which is a problem > given Django's very regular naming sch

Re: pydev code completion problem

2007-10-14 Thread lmierzej
I guess it all is just not possible in dynamically typed language... On Oct 14, 3:07 pm, lmierzej <[EMAIL PROTECTED]> wrote: > hi, > in models.py I have Poll class... > > when in views.py I do: > poll = Poll() > then when typing 'poll.' (just after typing '.') I get full and proper > code complet

Re: pydev

2007-08-01 Thread Nimrod A. Abing
On 8/2/07, eXt <[EMAIL PROTECTED]> wrote: > > Hi > >As I said earlier i don't have (and don't remember) these settings. > But you're right - it was in eclipse.ini. Now I use Eclipse Europa and > Java 6 on Kubuntu (32 bit) and I don't have any errors (even null > references mentioned by Nimrod)

Re: pydev

2007-08-01 Thread eXt
Hi As I said earlier i don't have (and don't remember) these settings. But you're right - it was in eclipse.ini. Now I use Eclipse Europa and Java 6 on Kubuntu (32 bit) and I don't have any errors (even null references mentioned by Nimrod). On 31 Lip, 22:19, "Kevin Menard" <[EMAIL PROTECTED]>

Re: pydev

2007-07-31 Thread Kevin Menard
On 7/31/07, eXt <[EMAIL PROTECTED]> wrote: > > I currently use Eclipse Europa with PyDev and it works fine. Earlier I > worked with Eclipse 3.2 and IIRC I had some problems with lock ups but > then I changed Eclipse start parameters and it solved my problem. So > my advice is to upgrade your Eclip

Re: pydev

2007-07-31 Thread eXt
I currently use Eclipse Europa with PyDev and it works fine. Earlier I worked with Eclipse 3.2 and IIRC I had some problems with lock ups but then I changed Eclipse start parameters and it solved my problem. So my advice is to upgrade your Eclipse or to read somewhere about parameters in Eclipse's

Re: pydev

2007-07-31 Thread Doug B
I had a lot of trouble with Eclipse on ubuntu. The default JRE was not Sun's, and Eclipse was not completely stable using it. I completely removed the other JRE, installed the Sun JRE and the lockups went away. It's been flawless ever since. --~--~-~--~~~---~--~---

Re: Pydev users: Undefined variable from import: objects

2007-05-16 Thread olive
On 16 mai, 08:25, Margaret <[EMAIL PROTECTED]> wrote: > Undefined from import:objects > may you need to config your path. I guess yes, but how ? These directories are already in my path: django and my_project. What else ? Olive. --~--~-~--~~~---~--~~ You recei

Re: Pydev users: Undefined variable from import: objects

2007-05-15 Thread Margaret
Undefined from import:objects may you need to config your path. On 5/16/07, olive <[EMAIL PROTECTED]> wrote: > > Hi, > > this is a question for Pydev/Django users. > > Do you have this problem (see subject) ? > > Do you know how to solve it ? > > Thx, > > Olive. > > > > > -- [EMAIL PROTECTED]

Re: Pydev and Django

2006-10-06 Thread olive
You are right Malcolm, My project's PYTHONPATH was not set and Eclipse global one was pointing to an old Django version used by another project. Now all is OK. THX --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Pydev and Django

2006-10-06 Thread Łukasz Langa
olive: > Fabio, > > I'm using Django 0.95 and the console says : > > manage.py: error: no such option: --noreload > > Do I need a fresh SVN copy ? > > Olivier. Here is a command that works for me: manage.py runserver 8080 --noreload Do you happen to forget the "runserver" part? The port is optio

Re: Pydev and Django

2006-10-06 Thread Malcolm Tredinnick
On Fri, 2006-10-06 at 06:07 +, olive wrote: > Fabio, > > I'm using Django 0.95 and the console says : > > manage.py: error: no such option: --noreload > > Do I need a fresh SVN copy ? Strange. Russell add the "noreload" option back in July (http://code.djangoproject.com/changeset/3348 ) an

Re: Pydev and Django

2006-10-05 Thread olive
Fabio, I'm using Django 0.95 and the console says : manage.py: error: no such option: --noreload Do I need a fresh SVN copy ? Olivier. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Pydev and Django

2006-10-05 Thread Malcolm Tredinnick
On Thu, 2006-10-05 at 20:48 +0200, Łukasz Langa wrote: > Josh Trutwin: > > On Mon, 02 Oct 2006 21:42:34 - > > "fabiofz" <[EMAIL PROTECTED]> wrote: > > > > > >> For those interested... Just wanted to post that I've recently > >> covered a little how-to on configuring pydev to work with djang

Re: Pydev and Django

2006-10-05 Thread Łukasz Langa
Josh Trutwin: > On Mon, 02 Oct 2006 21:42:34 - > "fabiofz" <[EMAIL PROTECTED]> wrote: > > >> For those interested... Just wanted to post that I've recently >> covered a little how-to on configuring pydev to work with django >> http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with

Re: Pydev and Django

2006-10-05 Thread Josh Trutwin
On Mon, 02 Oct 2006 21:42:34 - "fabiofz" <[EMAIL PROTECTED]> wrote: > For those interested... Just wanted to post that I've recently > covered a little how-to on configuring pydev to work with django > http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html Thanks! - pyd