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
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
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
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
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
5 matches
Mail list logo