Bhavesh Goyal writes: > But, whenever I try to query an object from the 'task' table, I get > an sql error : no such table 'task'.
Are you doing attribute access in Python code for Django, or are you writing direct SQL queries? My first guess for either case is that you haven't done the sync operation on the database (Django doesn't do it automatically), and so the table hasn't been created. My second guess is that the names that Django chooses for the table are munged (some kind of prefixing is done to make them unique and unlikely to conflict with table names chosen by the programmer). My third guess is that you're trying to access a Django table from Mailman; that isn't going to work terribly well. _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9