Archive for July, 2009

A Django Model Manager for Soft Deleting Records and How to Customize the Django Admin

posted on July 22nd, 2009 by Greg Allard in Greg's Comments on the Internet

I tested this out with a simple many to many example and I am not getting the soft deleted objects returned. With objects = SoftDeleteManager the many to many queries will be using get_query_set() which won’t return the soft deleted records. I might need to see an example of how you are getting the deleted results to be able to figure out what is going on. I tried it with some_object.related_things.all() and the returned set won’t have deleted related_things.

Read more comments by Greg Allard

greg_allard: loaded up the kindle with some books (a lot of free ones) so I have enough to read for the long flight to hawaii

posted on July 22nd, 2009 by Twitter / greg_allard in Greg's Tweets

greg_allard: loaded up the kindle with some books (a lot of free ones) so I have enough to read for the long flight to hawaii

ETag magic with Django

posted on July 20th, 2009 by PyromanX in Greg's Bookmarks on Delicious

ETag magic with Django

posted on July 20th, 2009 by PyromanX in Greg's Bookmarks on Delicious

Example Facebook application in Django

posted on July 11th, 2009 by PyromanX in Greg's Bookmarks on Delicious

Example Facebook application in Django

posted on July 11th, 2009 by PyromanX in Greg's Bookmarks on Delicious

greg_allard: @ChetBortz I use both of those. I can answer any questions if you want to know more.

posted on July 10th, 2009 by Twitter / greg_allard in Greg's Tweets

greg_allard: @ChetBortz I use both of those. I can answer any questions if you want to know more.

greg_allard: @ChetBortz http://slicehost.com if you know howto setup a server or webfaction is setup already. my wf affiliate link: http://bit.ly/2jVL5f

posted on July 10th, 2009 by Twitter / greg_allard in Greg's Tweets

greg_allard: @ChetBortz http://slicehost.com if you know howto setup a server or webfaction is setup already. my wf affiliate link: http://bit.ly/2jVL5f

Python Projects in Users’ Home Directories with wsgi

posted on July 9th, 2009 by Greg Allard in Greg's Comments on the Internet

I tried it without the LocationMatch directives and it works with just having AliasMatch in there for the static locations.

I didn’t expect that WSGIDaemonProcess wouldn’t expand the python_project_name. I was doing that so that each project would have a different process so touching one wsgi file wouldn’t effect another project. It seemed like it was working like that.

If you can figure out a better way of doing this that would be awesome.

Read more comments by Greg Allard

greg_allard: rt @ivylees Need a pro artist? Check out http://kaceyschwartz.com. She did the nifty frog and bird on Fedorable (http://blog.ivylees.com)

posted on July 9th, 2009 by Twitter / greg_allard in Greg's Tweets

greg_allard: rt @ivylees Need a pro artist? Check out http://kaceyschwartz.com. She did the nifty frog and bird on Fedorable (http://blog.ivylees.com)