Hi,

I have been recently concerned about getting a portable Django development 
environment as well. I wanted it to work on any computers without 
installing anything.
I could get it to work, I can now carry my environment and projects on a 
USB stick. :)
I assume it is a bit late for your case now but maybe it will help someone 
else.
I made a tutorial on my blog:
http://webdevon.com/setting-up-a-django-development-environment-from-scratch-on-windows/
 

Feel free to leave comment and/or send me your feedback to improve my 
"homemade" solution.
Also, updating the wiki might be nice for next people looking for it? What 
do you think?

Michael


Le vendredi 2 janvier 2009 17:57:55 UTC+1, Taser a écrit :
>
> I've installed Django using the instructions found on 
> http://code.djangoproject.com/wiki/MovablePythonInstall on a USB drive 
> and following the Django on-site tutorial. I'm getting the following 
> error when trying to do 'python manage.py syncdb'. 
>
> - - - - START error message 
> Traceback (most recent call last): 
>   File "main.py", line 1048, in <module> 
>   File "manage.py", line 11, in <module> 
>   File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters 
> \movpy-2.5\l 
> ib\django\core\management\__init__.py", line 340, in execute_manager 
>   File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters 
> \movpy-2.5\l 
> ib\django\core\management\__init__.py", line 295, in execute 
>   File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters 
> \movpy-2.5\l 
> ib\django\core\management\base.py", line 192, in run_from_argv 
>   File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters 
> \movpy-2.5\l 
> ib\django\core\management\base.py", line 210, in execute 
>   File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters 
> \movpy-2.5\l 
> ib\django\utils\translation\__init__.py", line 73, in activate 
>   File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters 
> \movpy-2.5\l 
> ib\django\utils\translation\__init__.py", line 36, in delayed_loader 
> IndexError: list index out of range 
> Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit 
> (Intel)] on win 
> 32 
> Type "help", "copyright", "credits" or "license" for more information. 
> (InteractiveConsole) 
> >>> 
> - - - - END error Message 
>
> The only changes made from the default settings.py were: 
>
> DATABASE_ENGINE = 'sqlite3' 
> DATABASE_NAME = 'H:/Programming/MovablePython-MegaPack/mega-pack/ 
> interpreters/movpy-2.5/mytestsite/mytestsitedb.db' 
>
> Does anyone have any pointers as to how I can fix this? 
>
> Tony R. 
> aka Taser 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/HUewXJA0l54J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to