On Wed, Aug 12, 2009 at 10:44 AM, Lokesh wrote:
>
> Hi Karen,
>
> Provided the details below.
> Here is the Traceback and Django version is 1.2
I assume you mean SVN trunk? 1.2 is in early "what might go in it" stage,
it's far from being a released version.
>
>
>
Hi Karen,
Provided the details below.
Here is the Traceback and Django version is 1.2
Traceback (most recent call last):
File "", line 1, in
File "c:\Python25\lib\site-packages\django\db\models\query.py", line
395, in delete
object._collect_sub_objects(seen_objs)
File
On Wed, Aug 12, 2009 at 9:58 AM, Lokesh wrote:
>
> Hi,
>
> Need help in understanding the relation between models and delete
> operations.
> Here is my model
>
> class UserBasicDetails(models.Model):
>user_id = models.OneToOneField(User, primary_key=True,
>
Hi,
Need help in understanding the relation between models and delete
operations.
Here is my model
class UserBasicDetails(models.Model):
user_id = models.OneToOneField(User, primary_key=True,
to_field='username', parent_link=True)
place = models.CharField(null=False,
I have a model 'Account' with a OneToOne relation to another model
Tokens and then lots of
other stuff in my models
Class Account (.
tokens = models.OneToOneField('TokenStore',
verbose_name=_(u'Token Store'), related_name='account')
When deleting an Account from admin gui
5 matches
Mail list logo