Hi Django community,
how can I access model fields dynamically during run time? At the moment I
just know how to access model fields explicitly.
An example:
class Example(models.Model):
text = models.CharField(max_length=50)
comment = models.CharField(max_length=50)
def retur
@Fred: Thanks a lot, that really helped me!
enrico
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this g
Thinking about this topic more detailed made me realize that I also need to
track the user who performed the insert/change (delete is globally not
permitted) actions. However, that are user names managed via Django ... so
when i use DB triggers I only can track the MySQL user who is used by the
Hi Fed,
the DB trigger approach sounds very exciting to me because I really need to
be sure that there is no way to manipulate records without audit trail. I
also would be very interested in the trigger code for MySQL you mentioned.
You also mentioned that you did something similar in the past
Hi Mike,
thanks for that reference, I will take a look.
Enrico
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To
Hi all Django users,
I'm quite new to Django and currently experimenting with the database
model. Defining fields appears to be quite intuitive and is well described
in the documentation. However, I am looking into audit trail
functionalities. What that means to me. I have two tables, one is my
6 matches
Mail list logo