Re: Help with manage.py sql

2012-12-03 Thread Sam Solomon
I'm guessing that for some reason the classes in your app/models.py are not set up correctly, are you sure you inherit from models.Model in your class(es). Example: from django.db import models class MyModel(models.Model): rather instead of : class MyModel(): If it doesn't inherit models.Mod

Re: Help with manage.py sql

2012-12-03 Thread David Brotman
Thanks for the response. To answer your questions: 1. Have you set up a DB and put the details into your settings.py? If not, this is the problem. *Yes, all the details of my db are in the settings. I am convinced that the syncdb works since when I ran it the first time, a few tables were creat

Re: Help with manage.py sql

2012-12-02 Thread Lachlan Musicman
On Mon, Dec 3, 2012 at 1:43 PM, David Brotman wrote: > Hi: > > I am really new to django and I am going thru the online tutorial (polls) > app and I got to the point in the tutorial where I enter the command: > > python manage.py sql polls > > Nothing happens. No error message or anything else dis

Re: Help with manage.py sql

2012-12-02 Thread Larry Martell
On Sunday, December 2, 2012, David Brotman wrote: > Hi: > > I am really new to django and I am going thru the online tutorial (polls) > app and I got to the point in the tutorial where I enter the command: > > python manage.py sql polls > > Nothing happens. No error message or anything else displa

Help with manage.py sql

2012-12-02 Thread David Brotman
Hi: I am really new to django and I am going thru the online tutorial (polls) app and I got to the point in the tutorial where I enter the command: python manage.py sql polls Nothing happens. No error message or anything else displayed. It just goes to a prompt. I included 'polls' in the insta