class Meta:
using = 'somedatabasename'
in Django models.py.
However while doing a syncdb I get an error like this :
TypeError: 'class Meta' got invalid attribute(s): using
what am I missing here??
any pointers or docs will be of great help.
-------------
Regards
Subhodip Biswas
GPG key : FAEA34AB
Server : pgp.mit.edu
http://subhodipbiswas.wordpress.com
http:/www.fedoraproject.org/wiki/SubhodipBiswas
Hi all,
I am newbie in django and while trying to write a database router for
using multiple database I did something like :class Meta:
using = 'somedatabasename'in Django models.py.
However while doing a syncdb I get an error like this :
TypeError: 'class Meta' got invalid attribute(s): using
what am I missing here??
any pointers or docs will be of great help.
-------------
Regards
Subhodip Biswas