Re: Storing user's IP while using admin site

2009-12-30 Thread Łukasz Balcerzak
M > To: <django-users@googlegroups.com> > Subject: Storing user's IP while using admin site > >> Hi there, >> >> I wonder if there is some easy and clean way of achieving this (hooking >> custom admin views in urls >> maybe is not that hard but definite

Re: Storing user's IP while using admin site

2009-12-30 Thread 夏恺
-- From: "Łukasz Balcerzak" <lukaszbalcer...@gmail.com> Sent: Wednesday, December 30, 2009 7:23 PM To: <django-users@googlegroups.com> Subject: Storing user's IP while using admin site > Hi there, > > I wonder if there is some easy and clean way of achieving this

Storing user's IP while using admin site

2009-12-30 Thread Łukasz Balcerzak
Hi there, I wonder if there is some easy and clean way of achieving this (hooking custom admin views in urls maybe is not that hard but definitely is not clean). Let's assume we have simply model: class Page(models.Model): title = models.CharField(max_length=64) author =