You have to set up the run environment. Make sure on run manage.py and
the parameters are runserver x.x.x.x:000 where x.x.x.x is the server
and :000 is the port you want to run from. After that it should not
ask anything and run off your settings.
On Dec 29, 7:38 pm, Emmanuel Mayssat wrote:
> I
To run Django server on specific IP and port you can use following
command:
python manage.py runserver :
e.g. python manage.py runserver 11.12.13.145:5678
If you do not specify IP and the port it starts on
localhost(127.0.0.1) and port 8000.
If you are using command prompt and do not want to
to change port:
django-admin.py runsserver
On Thu, Dec 30, 2010 at 6:24 AM, Emmanuel Mayssat wrote:
> For the sqlite.db file issue, I changed the settings.py with:
>
> import os
> PROJECT_DIR = os.path.dirname(__file__)
> ...
> DATABASE_ENGINE = 'sqlite3'
> DATABASE_NAME = os.path.join(PROJECT_D
For the sqlite.db file issue, I changed the settings.py with:
import os
PROJECT_DIR = os.path.dirname(__file__)
...
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = os.path.join(PROJECT_DIR, 'sqlite.db')
that now works as expected.
--
Emmanuel Mayssat
On Wed, Dec 29, 2010 at 4:38 PM, Emmanuel Mayss
I installed the pydev plugin in eclipse.
I configured it.
Imported my django project and it almost works.
Is any one of you using django/eclipse?
Well, all goes well until I start the django development server.
1/ how can I change the default port, it is running on ?
2/ My sqlite db files is rege
On Apr 4, 9:13 pm, "Jon Ballard" <[EMAIL PROTECTED]> wrote:
> Looks like maybe PyDev can't follow symbolic links in PYTHONPATH. For
> example I'm using SVN version and couldn't get django module code
> completion working until I added this to my PyDev PYTHONPATH:
> /usr/lib/django_src/
Oh, yep,
Sorry, following up an old post, but maybe it will help somebody.
Looks like maybe PyDev can't follow symbolic links in PYTHONPATH. For
example I'm using SVN version and couldn't get django module code
completion working until I added this to my PyDev PYTHONPATH:
/usr/lib/django_src/
I have a d
Igor Guerrero wrote:
> Apparently is a random error, I use the svn version, and with one project
> it works and with another don't, maybe is a PyDEV bug, but I don't know.
Hmm strange and what a pity ! :(
I hope it will be solved with next stable version :-)
--~--~-~--~~--
Apparently is a random error, I use the svn version, and with one project it
works and with another don't, maybe is a PyDEV bug, but I don't know.
On 2/15/07, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote:
>
>
> Igor Guerrero wrote:
>
> > You must add the app dir and django dir to the PYTHON_PATH en
Igor Guerrero wrote:
> You must add the app dir and django dir to the PYTHON_PATH env variable in
> the preferrence menu and rescan the PATH.
It worked well with 0.95 version (just need to add django dir to the PYTHON
PATH of Eclipse) but with svn version it looks it does not work any longer
for
Thank you so much.
On Feb 12, 10:38 am, "Igor Guerrero" <[EMAIL PROTECTED]> wrote:
> You must add the app dir and django dir to the PYTHON_PATH env variable in
> the preferrence menu and rescan the PATH.
>
> On 2/12/07, johnny <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am using PyDev and Eclipse. Fo
You must add the app dir and django dir to the PYTHON_PATH env variable in
the preferrence menu and rescan the PATH.
On 2/12/07, johnny <[EMAIL PROTECTED]> wrote:
>
>
> I am using PyDev and Eclipse. For some reason I can't get Eclipse to
> do the autocomplete to work for python.
> Eclipse autocom
I am using PyDev and Eclipse. For some reason I can't get Eclipse to
do the autocomplete to work for python.
Eclipse autocomplete work for other language and library packages. It
does autocomplete for python, but not for Django. My django in python/
lib/site-packages/django. Is there something
13 matches
Mail list logo