General utilities for django.
Uses get() to return an object or None if the object does not exist.
klass may be a Model, Manager, or QuerySet object. All other passed arguments and keyword arguments are used in the get() query.
Note: Like with get(), a MultipleObjectsReturned will be raised if more than one object is found.
From django-annoying: https://bitbucket.org/offline/django-annoying
Sends the after_syncdb signal.
This can be useful in a deploy script scenario where you want to run certain django operations after syncdb or migrate have completed. post_syncdb and post_migrate get triggered after every app and it’s difficult to check if a few apps have been synced already. In such cases you can just set your app run certain operations on recieving after_syncdb and then do thid in your deploy script:
$ python manage.py syncdb
$ python manage.py after_syncdb