hello please first chak the value which you wants to insert you django
server
didn't get the foreign key which you had diffiend so this is the value
error according to me
On Mon 8 Jul, 2019, 1:21 AM Aayush Bhattarai,
wrote:
> [image: Capture.PNG]
>
>
> *I have used a function-based View to get
[image: Capture.PNG]
*I have used a function-based View to get data from post Request. I need to
get many data that also include a primary key field too. I need to push
data into two models. While doing so, I encountered an error.*
#accounts models.py
from django.db import models
class User(
r_f_d wrote:
> As far as insert or update, just overide the save method within the
> class. It is something that must be done for each class, but what I
> have done (for essentially the same purpose) is override save() on
> each model I need to log the action for like so:
&
As far as insert or update, just overide the save method within the
class. It is something that must be done for each class, but what I
have done (for essentially the same purpose) is override save() on
each model I need to log the action for like so:
def save():
# if id exists, this record
On Tue, 2007-08-21 at 16:33 -0400, George Vilches wrote:
> Lic. José M. Rodriguez Bacallao wrote:
> > how can I vote?
>
> There's no official voting mechanism for the non-Django developers
> right now, it's mostly just based on putting a comment on the Trac
> ticket
Please don't do this. It's
On 8/21/07, George Vilches <[EMAIL PROTECTED]> wrote:
> or in the mailing list saying that you would use this
> functionality for such and such a reason.
OK, I'll specify the reason
We use web as administrative/configuration tool for non-web based
back-office server and we need to synchronize i
Lic. José M. Rodriguez Bacallao wrote:
> how can I vote?
There's no official voting mechanism for the non-Django developers
right now, it's mostly just based on putting a comment on the Trac
ticket or in the mailing list saying that you would use this
functionality for such and such a reason.
how can I vote?
On 8/21/07, Peter Melvyn <[EMAIL PROTECTED]> wrote:
>
>
> On 8/21/07, George Vilches <[EMAIL PROTECTED]> wrote:
>
> > http://code.djangoproject.com/ticket/4879
> > If you need that functionality, add a vote for it. :)
>
> Yes, I need such functionality :)
>
> Peter
>
> >
>
--
Li
On 8/21/07, George Vilches <[EMAIL PROTECTED]> wrote:
> http://code.djangoproject.com/ticket/4879
> If you need that functionality, add a vote for it. :)
Yes, I need such functionality :)
Peter
--~--~-~--~~~---~--~~
You received this message because you are subs
Lic. José M. Rodriguez Bacallao wrote:
> how can I know programatically if an operation in a model is an insert,
> update or delete?
> I just want to extend the admin log to log any action in my application
> models. Right now,
> admin app only log actions executed by itself.
Part of your quest
how can I know programatically if an operation in a model is an insert,
update or delete?
I just want to extend the admin log to log any action in my application
models. Right now,
admin app only log actions executed by itself.
--
Lic. José M. Rodriguez Bacallao
Cupet
11 matches
Mail list logo