Sérgio, Sorry about the **kwargs thing, my fault. I'm the one who patched AuditTrail to reflect the newest version of Django, but since I have some custom code in there I had to go line-by-line and figure out what to bring back to the website. I missed the **kwargs thing, though, it seems.
-Larrik Jaerico On Aug 21, 10:25 am, Sérgio Durand <[EMAIL PROTECTED]> wrote: > Hi Erick, > > It was working on r8339. > I've updated django this morning to r8460 to and still working !! > > What is "history Manager" that you said ? > > look how i'm using audit trail: > 1) i have my 'ordinary' model (without audit trail feature) > 2) i get the audit trail code and drop it into site-packages python > directory (it works if you put on root dir of your django project too) > 3) put import line on your model > 4) put an 'extra' attribute in your model (that i called 'history') to > use audit trail. > 5) and finnaly, run the magic command 'syncdb'.. or, sqlall <your_app>, > you should see all the sql generated by django. > > follows my (very) simple example:http://dpaste.com/hold/72943/ > > Try again with a simple example like that ... if did't work, send the > error message... > > Good luck!!! ;) > > Sergio Durand > > erikcw escreveu: > > > Hi Sergio, > > > I updated my code with your changes, and it still doesn't seem to be > > working. I don't have the history Manager in my model. > > > Is it working for you? Are you using the latest trunk? > > > Thanks! > > Erik > > > On Aug 19, 12:15 pm, Sérgio Durand <[EMAIL PROTECTED]> wrote: > > >> Hi people, > > >> Finally i've got Audit Trail [1] working again !!! :) > >> I'm not a django/python expert (i've started studying 2 months ago), but > >> after fighting with "python manage.py validate" and searching in google, > >> i've got the solution... the problem basically was missing **kwargs > >> arguments in some handler functions (because changes made in r8223). > >> Maybe this problem is very simple (in fact i think it is), but i've > >> spent several hours (and learned a lot of things too) to get this working. > >> This was my first code contribution and i'm very glad for that!! > > >> Sergio Durand > > >> [1]:http://code.djangoproject.com/wiki/AuditTrail > > >> ps: i hope i didn't make a code mistake and sorry my english !!! ; --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---