I'm under a really tight deadline on this pro-bono project, so I may
just create a duplicate class and work around it at this point. It's
not that much extra code, and the end-users will never know the
difference. I'll see what I can do about figuring out why it's not
behaving and contribute back
On May 30, 4:28 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Ok, sorry, I'm a dork, I forgot how to run patches. I successfully
> merged the first patch into my newforms-admin install, but it still
> doesn't work.
Option 1: Try to fix the patch yourself and contribute it back to the
ticket :
Ok, sorry, I'm a dork, I forgot how to run patches. I successfully
merged the first patch into my newforms-admin install, but it still
doesn't work.
On May 30, 3:16 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> I manually copied and pasted the code from the patch into
> filterspecs.py, as shown
I manually copied and pasted the code from the patch into
filterspecs.py, as shown in the patch, but no dice. I set up a sample
application using trunk, and limit_choices_to is working correctly.
I deleted the .pyc file for filterspecs. Is there something else I
need to do to incorporate the patc
On May 30, 3:54 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> I switched out the code in the path into my newforms-admin install,
> but it still doesn't want to work. Ugh! I'm going to try switching to
> trunk on a different computer to see if it will work in trunk.
>
> Any further thoughts be
I switched out the code in the path into my newforms-admin install,
but it still doesn't want to work. Ugh! I'm going to try switching to
trunk on a different computer to see if it will work in trunk.
Any further thoughts before I move on a create a completely separate
model for Staff Members and
>
> I'm using the newforms-admin branch of Django. Thanks,
Ah...there's an open ticket that discusses this along with a newforms-
admin patch:
http://code.djangoproject.com/ticket/3096
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi,
Here is "Member"
MEMBER_TYPE_CHOICES = (
('staff','Staff'),
('board','Board'),
)
class Member(models.Model):
member_type = models.CharField(max_length=30,
choices=MEMBER_TYPE_CHOICES)
first_name = models.CharField(max_length=30)
midd
Hi again, Brandon,
> Thanks for pointing that out in the documentation, I wasn't aware of
> that filter. However, I can't seem to get it to work.
>
> I've tried specifying the values as:
>
> staff_members_to_notify = models.ManyToManyField(Member,
> limit_choices_to = {'member_type' : 'staff'})
>
Hi Rajesh,
Thanks for pointing that out in the documentation, I wasn't aware of
that filter. However, I can't seem to get it to work.
I've tried specifying the values as:
staff_members_to_notify = models.ManyToManyField(Member,
limit_choices_to = {'member_type' : 'staff'})
and several other va
Hi Brandon,
> I have two Models: Member, Job
>
> Member has two types: Staff, Board
>
> Job needs to have a ManyToMany field for Member, so I can send emails
> to those associated records.
>
> So, what I'm trying to accomplish is to filter the list of Members
> that are shown in the ManyToMany to
Hello everyone,
I have two Models: Member, Job
Member has two types: Staff, Board
Job needs to have a ManyToMany field for Member, so I can send emails
to those associated records.
So, what I'm trying to accomplish is to filter the list of Members
that are shown in the ManyToMany to include o
12 matches
Mail list logo