RE: Using the django.contrib.auth User in my model - database error

2012-06-18 Thread LiuXianghe
Date: Sun, 10 Jun 2012 03:49:36 -0700 From: jonathan.talis...@gmail.com To: django-users@googlegroups.com Subject: Re: Using the django.contrib.auth User in my model - database error I just used an sqlite3 and sqlitemanager which is a sqlite front-end , I am guessing it should not be too

Re: Using the django.contrib.auth User in my model - database error

2012-06-10 Thread xTalisman
I just used an sqlite3 and sqlitemanager which is a sqlite front-end , I am guessing it should not be too difficult to drop all tables with a script too. On Sunday, June 10, 2012 12:48:46 PM UTC+3, liuxi...@live.cn wrote: > > how to drop all the database tables? > > On 6月4日, 下午5时36分, bruno

Re: Using the django.contrib.auth User in my model - database error

2012-06-10 Thread liuxian...@live.cn
how to drop all the database tables? On 6月4日, 下午5时36分, bruno desthuilliers wrote: > On Jun 4, 11:01 am, xTalisman wrote: > > > Solved : > > I dropped all the database tables (including the contib.auth ones) and ran > > syncdb, suddenly

Re: Using the django.contrib.auth User in my model - database error

2012-06-04 Thread bruno desthuilliers
On Jun 4, 11:01 am, xTalisman wrote: > Solved : > I dropped all the database tables (including the contib.auth ones) and ran > syncdb, suddenly everything was fine. odd , but is working now . Well, nice to know it works now, but yes this _is_ odd. -- You received

Re: Using the django.contrib.auth User in my model - database error

2012-06-04 Thread xTalisman
Solved : I dropped all the database tables (including the contib.auth ones) and ran syncdb, suddenly everything was fine. odd , but is working now . Jonathan On Monday, June 4, 2012 11:27:44 AM UTC+3, xTalisman wrote: > > Bruno , > I thought so , so I deleted the the whole database (sqlite3)

Re: Using the django.contrib.auth User in my model - database error

2012-06-04 Thread xTalisman
Bruno , I thought so , so I deleted the the whole database (sqlite3) and ran the syncdb again , it created the tables as defined by django.contrib.auth and my application - but did not create the foreignkey columns manager and users. Any ideas ? On Monday, June 4, 2012 11:23:33 AM UTC+3,

Re: Using the django.contrib.auth User in my model - database error

2012-06-04 Thread bruno desthuilliers
On Jun 4, 9:49 am, xTalisman wrote: > I ran syncdb without a problem ,  then when I used the admin interface I > get the following error : > > Exception Type: DatabaseError at /admin/coordination/project/ > Exception Value: no such column:

Using the django.contrib.auth User in my model - database error

2012-06-04 Thread xTalisman
Part of my application that uses the contrib,auth User from django.db import models from django.contrib.auth.models import *User* class Project(models.Model): name = models.CharField(max_length=200) startdate = models.DateField('Project Started') enddate = models.DateField('Expected end date')