Django: Unknown command: 'test'

Posted by: scoopseven in Django 10 years, 5 months ago

Got this error running tests on a new project and couldn't figure out what the problem was. Found a similar problem with someone using Jenkins on SO who found the real error by running:

read more / 0 comments

Granola

Posted by: scoopseven in Recipes 10 years, 11 months ago

I grabbed the base of this recipe from completelydelicious.com, going to make some when my store-bought brand runs out. 

read more / 0 comments

Export Zinna - Import Mezzanine

Posted by: scoopseven in Django 10 years, 11 months ago

I've looked for a decent django blog platform for quite a while before finding Mezzanine a couple of months ago. I finally switched over my stack to Ubuntu upgraded to Django 1.4 and started running Mezzanine. So far, so good.

read more / 0 comments

Apache Enable Directory Browsing (Indexes) in Arch Linux

Posted by: scoopseven in Apache Linux 11 years, 10 months ago

We had a VirtualHost defined for a simple website; we wanted to enable directory browsing for this (password protected) site. Simple, right? Despite all of my Google searching, adding "Options Indexes", "Options +Indexes", "Allow Overrides" and adding .htaccess files, we were unable to get directory browsing working. A quick look at the http error_log revealed this error:

read more / 0 comments

Python/Django Tips n' Tricks Cheatsheet

Posted by: scoopseven in Django Python 12 years ago

Converting a unicode string to a list of strings
http://stackoverflow.com/questions/5001385/unicode-to-python-object-conversion
n = [e.encode('utf-8') for e in s.strip('[]').split(',')]

read more / 0 comments

Recent Tweets

Recent Posts

Archive

2013
2012
2011
2010
2009
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom