hi everybody
I'm making a custom form widget in the newforms admin and I want to
have access to the id of the current model instance (for already
existing data).
Can I get the id from the request object? Or any other solution?
I'm really going mad with this problem..
yves
--~--~-~--~--
does anybody have some hints?
On 21 Nov., 00:24, yves_s <[EMAIL PROTECTED]> wrote:
> hi everybody
> I'm making a custom form widget in the newforms admin and I want to
> have access to the id of the current model instance (for already
> existing data).
> Can I get the
thanks for the replies donn and malcolm, here in more detail what I
want to archive
perhaps I'm on the totally wrong track...
How do I pass the PASSANYTHINGHERE=whatever parameters to the widget
(see sample code)?
(the super part is clear, thanks)
How to pass the "value" id on ModelForm level to t
I want that only dogs (no other animals from other groups) are listed
in the foreignkey drop down box for the representative_animal (which
would be all animals without modification) when I'm editing the
AnimalGroup dogs.
I finally hacked something together with the threadlocals middleware,
which
Hi
I have this 2 models
[CODE]
class FontFamily(models.Model):
name = models.CharField(max_length="50")
default_fontfile = models.ForeignKey('FontFile',
limit_choices_to =
{ 'id__in' : (1,2) }, # something like 'self.fontfile_set.all()' would
be
I also looking for realtime messaging for django and found this two
links.
http://www.clemesha.org/blog/realtime-web-apps-python-django-orbited-twisted/
http://bitshaq.com/2010/07/30/a-simple-experiment-with-hookbox/
yves
--
You received this message because you are subscribed to the Google Gr
Hello
I'm using the registration django app and want to have the
registration and login form on the same page.
When I reuse the auth_login view, the registration form is missing in
the context of the template.
My quickfix is to copy the original auth login view to my own views.
Then I changed the
7 matches
Mail list logo