Hello,
i got a huge problem. I have got an Idea class and an ideacomment
class. You can guess what these classes are used for. What i do is the
following:
- the ideacomment class has an foreignkey
- this foreignkey is marked as edit_inline
- when i edit an idea instance in the admin i can also a
dmin inlines instead.
>
> Erik
>
> On 28.10.2008, at 12:47, Daniel Austria wrote:
>
>
>
> > Hello,
>
> > i got a huge problem. I have got an Idea class and an ideacomment
> > class. You can guess what these classes are used for. What i do is the
> >
Hi Daniel,
thanks for your response. You were absolutely right with your idea.
i removed the core=True ... and it works.
Thanks again,
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hi there,
got a Problem. Maybe someone knows a solution.
I have a model Data which is linked via a foreignkey to the model
Participant.
I have overwritten the delete() Method in the model Data.
When i delete a instance of Data via the Admin-Interface, delete() is
called appropriately.
When i del
Cool!
Thank you very much for your response. i ll use signals!
regards
Dan
--~--~-~--~~~---~--~~
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
Thanks Guys,
for your responses. I used the pre_delete signal. When i delete a
participant object via admin interface, the related Data Instances are
also deleted and pre_delete is called. That work s for me pretty
good.
Many thanks,
Dan
--~--~-~--~~~---~--~~
You
Hi all,
is there something to bear in mind, if i store a instance of a class
in a django session? e.g. there is a class product and i want to
request.session['CURRENT_PRODUCT'] = myproduct
As far as i know, this should be allowed. Isn't it?
Greets,
Dan
--~--~-~--~~~
Hi,
to those who are experienced in django: i just want to avoid making
mistakes at the database level.
intro: I have an existing produkt p (class produkt) in the database. It
has a few other keys to the table attribute. So attribute (class
attribute) has a ForeignKey to produkt.
todo: Take the
Hi,
i have a problem with the order_with_respect_to field in the
Meta-Class. Editing the Model in the Admin interface (Saving new
levels) i get the exception:
You can't specify target table 'heracles_level' for update in FROM
clause
If i remove the order_with_respect_to field, it works fine.
9 matches
Mail list logo