I have an application named "news". Running python manage.py sqlall news
I just discovered that django would create a table I did not define in
my models.py - "news_news" (no, there's no M2M fields there). What's
that? Why? I even don't have a model for this data.

CREATE TABLE "news_news" (
    "id" serial NOT NULL PRIMARY KEY,
    "news_title" varchar(255) NOT NULL,
    "news_slug" varchar(255) NOT NULL UNIQUE,
    "news_text" text NOT NULL,
    "news_date" timestamp with time zone NOT NULL
);

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to