On Friday, July 12, 2013 5:18:58 AM UTC-4, Tom Evans wrote: > > On Fri, Jul 12, 2013 at 4:01 AM, Yves S. Garret > <yoursurr...@gmail.com <javascript:>> wrote: > > I was able to import django from inside of python 2.6.6 (which is what > I'm > > going with > > at the moment). However, when I try to display something in a browser, > this > > is the > > problem that I'm getting: > > > > $ python /path/to/file/manage.py runserver > > Traceback (most recent call last): > > File > > > "/home/azureuser/Downloads/django/Django-1.5.1/django/conf/project_template/manage.py", > > > > You *MUST* install django before trying to use it. > You will need to create a real project using django-admin.py, instead > of trying to run manage.py from the application template stubs. > > Please take a look at the tutorial intro, which describes how to install > django > > https://docs.djangoproject.com/en/1.5/intro/install/ > > Next, look at the tutorial itself, which describes how to start your > first project. > > https://docs.djangoproject.com/en/1.5/intro/tutorial01/ > > These steps are not optional. > > Cheers > > Tom >
I have it down to this level, where I can import django from inside of python: $ python Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> print(django.get_version()) 1.5.1 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.