Hi there, I'm trying to capture all url path data. (Except admin, and a couple other paths.)
At the end of my urls.py file, I'm using r'^(.*)$'... On my associated view, I make a simple entry into a database - ie: Test(path=capturedpath).save()
The problem: my database entry is saved twice! Or rather, my view is being loaded twice. I added a global variable to check- if not globals()['already_saved']: Test(path=capturedpath).save()
I'm using django 1.4. Any help/thoughts/suggestions would be much appreciated.
Thanks!