Given the following model:
class ModelA(models.Model):
name = models.CharField(max_length=10)
class ModelB(models.Model):
a = models.ForeignKey(ModelA)
name = models.CharField(max_length=10)
I'd like to perform a query for ModelA objects that have no ModelB
objects referring to them.
I'd be interested in a signal for related add/remove relationships.
This would involve a signal for one-to-many, many-to-one, and
many-to-many saves. Something like:
dispatcher.send(signal=signals.pre_related_add, \
sender=self.__class__, related_object=self, instance=self)
It is
I would find it extremely useful to pass a script argument to the
'manage.py shell' command, so I could run arbitrary scripts using the
models library defined in project/app. I can't currently see a way to
do this except using input redirection:
python manage.py shell < script.py
Is there a
Requesting feedback regarding ticket #4312.
(the ticket currently uses 'defaults' as the name of the argument, but I
would think 'values' or 'extra_values' would be more intuitive)
The addition of a dictionary argument to save_instance would allow the
developer to supply values for Model
I just wanted some feedback on ticket 4312--or an alternative for
accomplishing the same thing. See comments in ticket for more
information.
Thanks,
Casey
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
I was wondering what is the most appropriate way to get feedback on
tickets that have been submitted (bugs and/or features)--through the
ticket system itself or by starting a discussion on the developers
list (after a ticket has been submitted)?
Thanks,
Casey