I've been extremely busy with other projects and just got back to this. It 
would appear you are correct about it not working correctly. I'm new to all 
of this and I'd have been lost long ago without that guide but it is 
severely lacking. Below is the result of the manage.py command.

[-bash-3.2 root@server1: 
/home/username/sites/domain.com/django/bin/testproject] # 
/opt/python2.5/bin/python manage.py
Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management


On Monday, August 27, 2012 6:07:50 PM UTC-4, Melvyn Sopacua wrote:
>
> On 27-8-2012 17:05, Bestrafung wrote: 
> > Ok, I think it's worked out now. I added the export line to the root 
> > .bash_profile and then changed the shebang in django-admin.py to 
> > "/opt/python2.5/bin python" and now everything seems to be working. 
>
> I imagine there's a typo there and no space, but a forward slash. 
> > If 
> > anyone is working on an older Red Hat/CentOS system and has to follow 
> the 
> > guide I'm following I hope this helps them. 
> > 
> It's kind of weird that this fix works without problems. You should try 
> the following in your project directory: 
> /opt/python2.5/bin/python manage.py shell 
> On the shell you get then: 
> >>> from django.db import models 
> >>> print models.__file__ 
>
> I'm quite interested what that shows since your installation seems to be 
> all over the place. 
>
> -- 
> Melvyn Sopacua 
>

-- 
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/-/RzVoU1PEINkJ.
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