Re: Allocating items to users

2022-05-23 Thread Ryan Nowakowski
On Fri, May 13, 2022 at 09:27:48AM -0700, 'dtdave' via Django users wrote: > I have the following code: > from django.conf import settings > from django.db import models > > class AccountManager(models.Model): > account_manager = models.ForeignKey( > settings.AUTH_USER_MODEL, on_delete

Allocating items to users

2022-05-13 Thread 'dtdave' via Django users
I have the following code: from django.conf import settings from django.db import models class AccountManager(models.Model): account_manager = models.ForeignKey( settings.AUTH_USER_MODEL, on_delete=models.PROTECT, null=True, blank=True ) class Meta: verbose_name = 'Ac