Re: Problem setting up django server

2013-06-18 Thread Rafael E. Ferrero
i'll recomend to you... to remove and reinstall (or upgrade) your python from 2.6 to 2.7, remove and reinstall django 1.5... so you can take a fresh start. https://docs.djangoproject.com/en/1.5/intro/install/ cheers 2013/6/18 Nick Dokos > smy28 writes: > > > Okay, so I ran python manage.py s

Re: Problem setting up django server

2013-06-18 Thread Nick Dokos
smy28 writes: > Okay, so I ran python manage.py shell and I got the following error: > TypeError: Error when calling the metaclass bases > __init__() keywords must be strings > I'd suggest that you remove everything and start from scratch. Make sure that all the requirements are met and that

Re: Problem setting up django server

2013-06-18 Thread Michael Anckaert
On 18/06/13 17:46, smy28 wrote: > No, I haven't edited anything yet. Okay, I attached a models.py file > from django/contrib/auth > > On Tuesday, June 18, 2013 11:39:09 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:37, smy28 wrote: >> Yes, I have attached the base.py file (which seem

Re: Problem setting up django server

2013-06-18 Thread Randy Baxley
Glad and sad that you are going through this. Sad in that the process seems too complicated. Glad in that I have failed miserably in trying to get virtualenv, vagrant, and other packages to install both in Windows and in Xubunto. I have run python27 and 33 without problems but even in the 27 dir

Re: Problem setting up django server

2013-06-18 Thread smy28
Okay, so I ran python manage.py shell and I got the following error: TypeError: Error when calling the metaclass bases __init__() keywords must be strings On Tuesday, June 18, 2013 11:10:10 AM UTC-4, Roberto wrote: > > Are you in a virtualenv? Can you run $python manage.py shell? > > Which v

Re: Problem setting up django server

2013-06-18 Thread smy28
No, I'm not in a virtualenv. This is my first time using python, so bear with me! I just installed the v2.7 dmg, but I'm not sure what else I need to do to get it running. On Tuesday, June 18, 2013 11:10:10 AM UTC-4, Roberto wrote: > > Are you in a virtualenv? Can you run $python manage.py shel

Re: Problem setting up django server

2013-06-18 Thread smy28
No, I haven't edited anything yet. Okay, I attached a models.py file from django/contrib/auth On Tuesday, June 18, 2013 11:39:09 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:37, smy28 wrote: > > Yes, I have attached the base.py file (which seems to be the one with the > error, correct?

Re: Problem setting up django server

2013-06-18 Thread Michael Anckaert
On 18/06/13 17:37, smy28 wrote: > Yes, I have attached the base.py file (which seems to be the one with > the error, correct?) > > On Tuesday, June 18, 2013 11:11:52 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:00, smy28 wrote: > > I just installed Django and I'm trying to initially

Re: Problem setting up django server

2013-06-18 Thread smy28
Yes, I have attached the base.py file (which seems to be the one with the error, correct?) On Tuesday, June 18, 2013 11:11:52 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:00, smy28 wrote: > > I just installed Django and I'm trying to initially set up the server, > > as detailed in the '

Re: Problem setting up django server

2013-06-18 Thread Roberto
Are you in a virtualenv? Can you run $python manage.py shell? Which version of python have you installed? Django v1.5 requires python >= v2.6.5, and from your stacktrace it seems you just have v2.6. https://docs.djangoproject.com/en/1.5/faq/install/#what-are-django-s-prerequisites On Tuesday,

Re: Problem setting up django server

2013-06-18 Thread Michael Anckaert
On 18/06/13 17:00, smy28 wrote: > I just installed Django and I'm trying to initially set up the server, > as detailed in the 'Part 1' Tutorial. I haven't configured any > settings yet. Whenever I run the command "python manage.py runserver", > I get the following message: > > > > Validating models

Problem setting up django server

2013-06-18 Thread smy28
I just installed Django and I'm trying to initially set up the server, as detailed in the 'Part 1' Tutorial. I haven't configured any settings yet. Whenever I run the command "python manage.py runserver", I get the following message: Validating models... Unhandled exception in thread started