Hi,
  I've been using Django for a couple months now, and have been
thrilled with it.  This list has been invaluable in answering
questions that have come up, so many thanks.

  However, now I've an issue I haven't found a helpful answer for.  My
project is a work scheduler, where Projects have ProjectUnits
(basically a work shift) that are handled by different Crews on
different days.  The relevant parts:

class Crew(models.Model):
  # fields

class Project(models.Model):
  # fields

class ProjectUnit(models.Model):
  day = models.DateField()
  crew = models.ForeignKey(Crew, blank=True)
  project = models.ForeignKey(Project)

  The Project and ProjectUnits are defined before the Crews are
assigned, but when assigning a Crew to a ProjectUnit I'd like to know
if the Crew is already scheduled to work that day.  That's allowed,
but I'd like a confirmation alert when this happens, or ideally, have
the droplist for crew in the admin show a * (or any indicator) next to
everyone already on assignment that day.

  Any suggestions for doing this would be appreciated.  If the above
isn't possible, pointers to doing this type of thing outside the admin
interface would be helpful.  Thanks,

 Michael


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to