Viewing posts by scoopseven

Django: Unknown command: 'test'

Posted by: scoopseven in Django 10 years, 7 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


Posted by: scoopseven in Recipes 11 years, 1 month ago

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

read more / 0 comments

Export Zinna - Import Mezzanine

Posted by: scoopseven in Django 11 years, 1 month 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 12 years 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, 2 months ago

Converting a unicode string to a list of strings
n = [e.encode('utf-8') for e in s.strip('[]').split(',')]

read more / 0 comments

Recent Tweets

Recent Posts






RSS / Atom