Do not use defaults module in django.conf.urls

django.conf.urls.defaults is deprecated.
patterns, url, and include should be imported
via django.conf.urls
Use specific imports in test url configs

Import url, patterns, and include from django.conf.urls
for test projects instead of import * from that module
import * from django.conf.urls.defaults for v1.2.x support

In django 1.2.x the urlresolver looked at the client url conf
for the handler400/handler500.  If you do not import *
from django.conf.urls.defaults django will fail to find the
necessary handers.

In django 1.3 the urlresolver will first look at the client url conf for the
necessary handers and if they are not found it will
import the default handlers from django.conf.urls
Move django.conf.urls check into compat module

Move the compatibility check when importing
django.conf.urls module into
the guardian.compat module
Update README.rst

Update link to djangoadvent.
Merge pull request #104 from marsam/patch-1

Update README.rst
when checking permission on "get_object" views, several properties need to be definied ahead of time
Custom anonymous user username.

The first anonymous user created needs a configurable value
since django 1.5 supports custom user modules.
Added note about having to use get_obj_perms in same template block. Fixes 103
Fixed problem with adminmedia with Django 1.5. Fixes 100

Currently we use friendly_load from https://bitbucket.org/jaap3/django-friendly-tag-loader/
but we should probably create something like 'conditional load' template tag
Merge branch 'master' of github.com:lukaszb/django-guardian
making object permission check make sure that the view has an "object" before trying to "get" it
making object permission check make sure that the view has an "object" before trying to "get" it

Conflicts:
	guardian/mixins.py
Merge pull request #102 from crosbymichael/master

Do not use defaults module from django.conf.urls
adding test to cover case for when a single object view has no object assigned or get_object return value
adding self to authors file as requested
Merge branch 'fix_object_check' of github.com:ephemerallabs/django-guardian into fix_object_check
reverting to code from master as it was good
Django 1.5 foreign key dependency

Also make sure that code doesn't call compat.py twice.
This ensures there's no circular dependencies.
Added 'flakes' command to setup.py